From 7261f2d1e0a6ee7c90a9a729fa02ec142f23185b Mon Sep 17 00:00:00 2001 From: edo-neo Date: Wed, 23 Oct 2024 09:45:57 +0200 Subject: [PATCH] dev.r5portal upload system unit test ok --- src/components/archive_synchronizer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/archive_synchronizer.py b/src/components/archive_synchronizer.py index e80fe46..05326d4 100644 --- a/src/components/archive_synchronizer.py +++ b/src/components/archive_synchronizer.py @@ -190,7 +190,8 @@ class ArchiveSynchronizer(Component): return False # Save the file to /tmp/ - local_file_path = os.path.join("/tmp/", os.path.basename(specific_file_url)) + project_tmp_path = "/home/edo-neo/PycharmProjects/st-ten-1/tmp" + local_file_path = os.path.join(project_tmp_path, os.path.basename(specific_file_url)) os.makedirs(os.path.dirname(local_file_path), exist_ok=True) with open(local_file_path, "wb") as f: