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 ec663b1 commit 96bb199Copy full SHA for 96bb199
Uses-Cases/Pages/stamp/pageAppendTextStamp.py
@@ -59,9 +59,9 @@ def download_result(self):
59
return
60
61
try:
62
- file_path = self.pdf_api.download_file(Config.PDF_DOCUMENT_NAME)
+ temp_file = self.pdf_api.download_file(Config.PDF_DOCUMENT_NAME)
63
local_path = Config.LOCAL_FOLDER / Config.LOCAL_RESULT_DOCUMENT_NAME
64
- shutil.move(file_path, str(local_path))
+ shutil.move(temp_file, str(local_path))
65
logging.info(f"download_result(): File successfully downloaded: {local_path}")
66
except Exception as e:
67
logging.error(f"download_result(): Failed to download file: {e}")
0 commit comments