From 86f0662291e60fcf5567dabf31aa8a75accd0ebb Mon Sep 17 00:00:00 2001 From: Wilfred Tyler Gee Date: Sat, 18 May 2024 17:08:24 -1000 Subject: [PATCH] Save jpg with proper name. --- src/panoptes/pocs/utils/cli/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panoptes/pocs/utils/cli/network.py b/src/panoptes/pocs/utils/cli/network.py index 6d2461435..289b72227 100644 --- a/src/panoptes/pocs/utils/cli/network.py +++ b/src/panoptes/pocs/utils/cli/network.py @@ -165,7 +165,7 @@ def handleEvent(event): try: upload_image_cmd( event.src_path, - bucket_path=f'{unit_id}', + bucket_path=f'{unit_id}/{Path(event.src_path).name}', bucket_name='panoptes-images-pretty', storage_client=storage_client )