fix(code fixed)

This commit is contained in:
2025-10-03 19:02:53 +05:30
parent 3ae1ffd65a
commit 233697e904

View File

@@ -156,7 +156,7 @@ class AutomationMassHealthEligibilityCheck:
# wait for the PDF to fully appear # wait for the PDF to fully appear
downloaded_path = wait_for_pdf_download() downloaded_path = wait_for_pdf_download()
# generate unique target path (include memberId) # generate unique target path (include memberId)
target_path = self._unique_target_path() target_path = _unique_target_path()
# It's possible Chrome writes a file with a fixed name: copy/rename it to our target name. # It's possible Chrome writes a file with a fixed name: copy/rename it to our target name.
shutil.copyfile(downloaded_path, target_path) shutil.copyfile(downloaded_path, target_path)
# ensure the copied file is writable / stable # ensure the copied file is writable / stable