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