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