Merge pull request #348 from vrenaville/150fix_split

fix: fix subdirectory issue
This commit is contained in:
Vincent Renaville authored and GitHub committed 2022-03-03 14:26:49 +01:00
commit 22726869cf
1 file changed
+2 -2
+2 -2
View File
@@ -154,7 +154,7 @@ class IrAttachment(models.Model):
if fname.startswith("azure://"):
key = fname.replace("azure://", "", 1).lower()
if '/' in key:
container_name, key = key.split('/')
container_name, key = key.split('/', 1)
else:
container_name = None
container_client = self._get_azure_container(container_name)
@@ -201,7 +201,7 @@ class IrAttachment(models.Model):
if fname.startswith("azure://"):
key = fname.replace("azure://", "", 1).lower()
if '/' in key:
container_name, key = key.split('/')
container_name, key = key.split('/', 1)
else:
container_name = None
container_client = self._get_azure_container(container_name)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.