From 9a84dbe4aa87ba2534a865379a8478908d5a2628 Mon Sep 17 00:00:00 2001 From: kshitijrajsharma Date: Sat, 14 Oct 2023 13:43:31 +0545 Subject: [PATCH] Comment addition --- API/api_worker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/API/api_worker.py b/API/api_worker.py index 601a6920..930ac111 100644 --- a/API/api_worker.py +++ b/API/api_worker.py @@ -84,7 +84,7 @@ def process_raw_data(self, params): if use_s3_to_upload: file_transfer_obj = S3FileTransfer() upload_name = exportname if params.uuid else f"Recurring/{exportname}" - if exportname.startswith("hotosm_project"): + if exportname.startswith("hotosm_project"): # TM if not params.uuid: pattern = r"(hotosm_project_)(\d+)" match = re.match(pattern, exportname) @@ -93,7 +93,7 @@ def process_raw_data(self, params): project_number = match.group(2) if project_number: upload_name = f"TM/{project_number}/{exportname}" - elif exportname.startswith("hotosm_"): + elif exportname.startswith("hotosm_"): # HDX if not params.uuid: pattern = r"hotosm_([A-Z]{3})_(\w+)" match = re.match(pattern, exportname)