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 1f084b8 commit 013fd11Copy full SHA for 013fd11
Uses-Cases/Bookmarks/add/appendBookmarks.py
@@ -63,9 +63,9 @@ def download_result(self):
63
return
64
65
try:
66
- file_path = self.pdf_api.download_file(Config.PDF_DOCUMENT_NAME)
+ temp_file = self.pdf_api.download_file(Config.PDF_DOCUMENT_NAME)
67
local_path = Config.LOCAL_FOLDER / Config.LOCAL_RESULT_DOCUMENT_NAME
68
- shutil.move(file_path, str(local_path))
+ shutil.move(temp_file, str(local_path))
69
logging.info(f"download_result(): File successfully downloaded: {local_path}")
70
except Exception as e:
71
logging.error(f"download_result(): Failed to download file: {e}")
0 commit comments