From d023a98653c1e070dc5d19dbd0f78bb27b244f29 Mon Sep 17 00:00:00 2001 From: Andy Haith Date: Wed, 24 Aug 2022 11:52:59 +0100 Subject: [PATCH] Include imagesets/ in uploaded blob ids (#130) --- setup.py | 2 +- zegami_sdk/source.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 1322f03..681b3f4 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from setuptools import setup # Update version here when you want to increment the version in PyPi -sdk_version = '0.4.8' +sdk_version = '0.4.9' # If no ZEGAMI_SDK_VERSION set use the version try: diff --git a/zegami_sdk/source.py b/zegami_sdk/source.py index 3b743bf..0a77c53 100644 --- a/zegami_sdk/source.py +++ b/zegami_sdk/source.py @@ -331,7 +331,7 @@ def _upload_image_group(self, paths, start_index): # Obtain blob storage information blob_storage_urls, id_set = c._obtain_signed_blob_storage_urls( - coll.workspace_id, id_count=len(paths)) + coll.workspace_id, id_count=len(paths), blob_path="imagesets/{}".format(self.imageset_id)) # Check that numbers of values are still matching if not len(paths) == len(blob_storage_urls):