We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fded853 commit 4fd0bf3Copy full SHA for 4fd0bf3
Uses-Cases/Stamps/add/appendStamps.py
@@ -67,9 +67,9 @@ def download_result(self):
67
return
68
69
try:
70
- file_path = self.pdf_api.download_file(Config.PDF_DOCUMENT_NAME)
+ temp_file = self.pdf_api.download_file(Config.PDF_DOCUMENT_NAME)
71
local_path = Config.LOCAL_FOLDER / Config.LOCAL_RESULT_DOCUMENT_NAME
72
- shutil.move(file_path, str(local_path))
+ shutil.move(temp_file, str(local_path))
73
logging.info(f"download_result(): File successfully downloaded: {local_path}")
74
except Exception as e:
75
logging.error(f"download_result(): Failed to download file: {e}")
0 commit comments