From f35400b53d17691a697a69056ed16359700fdad0 Mon Sep 17 00:00:00 2001 From: Ross Cutler <46252169+rosscutler@users.noreply.github.com> Date: Wed, 4 Jun 2025 14:48:59 -0700 Subject: [PATCH] Fix AzureClipStorage path prefix --- src/azure_clip_storage.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/azure_clip_storage.py b/src/azure_clip_storage.py index 44ead76..85c19b3 100644 --- a/src/azure_clip_storage.py +++ b/src/azure_clip_storage.py @@ -15,7 +15,10 @@ def __init__(self, config, alg): self._account_key = config['StorageAccountKey'] self._container = config['Container'] self._alg = alg - self._clips_path = config['Path'].lstrip('/') + path = config['Path'].lstrip('/') + if path and not path.endswith('/'): + path += '/' + self._clips_path = path self._clip_names = [] self._modified_clip_names = [] self._SAS_token = ''