From d6c6e680fafe95a239ea416e4a734d1363592a50 Mon Sep 17 00:00:00 2001 From: sergei kasianenko Date: Fri, 20 Sep 2024 08:55:31 +0800 Subject: [PATCH] fix copy pull_results --- ftp_orders/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ftp_orders/main.py b/ftp_orders/main.py index e76d05bb36..c5378821b8 100644 --- a/ftp_orders/main.py +++ b/ftp_orders/main.py @@ -436,6 +436,7 @@ def pull_result(self, file: str): file_name_internal_code = internal_code.replace(".", "_") iss_file.uploaded_file.name = f"{tube_number}_{file_name_internal_code}.pdf" iss_file.save() + continue elif (obx.OBX.obx_3.obx_3_1.value).lower() == "jpg": tmp_fractions["jpg"] = obx.OBX.obx_5.obx_5_5.value result.append(tmp_fractions.copy())