Merge pull request #351 from vrenaville/110fix_split

fix: fix subdirectory issue
This commit is contained in:
Vincent Renaville authored and GitHub committed 2022-03-03 15:19:19 +01:00
commit 7d3bbe9499
1 file changed
+2 -2
+2 -2
View File
@@ -155,7 +155,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)
@@ -205,7 +205,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.