dropdown fixed

This commit is contained in:
feder-cr 2024-08-22 18:24:37 +01:00
parent 78d0a8ebca
commit 737d9cf457
4 changed files with 25 additions and 25 deletions

View file

@ -153,8 +153,8 @@ class LinkedInJobManager:
"pdf_path": job.pdf_path
}
file_path = self.output_file_directory / f"{file_name}.json"
file_path = file_path.as_posix()
if not file_path.exists():
job.pdf_path = file_path.as_posix()
with open(file_path, 'w', encoding='utf-8') as f:
json.dump([data], f, indent=4)
else: