From 4fea7833fb608111af96322d8efa7b7254465c44 Mon Sep 17 00:00:00 2001 From: feder-cr Date: Fri, 23 Aug 2024 14:51:17 +0100 Subject: [PATCH] log fix --- linkedIn_job_manager.py | 3 ++- main.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/linkedIn_job_manager.py b/linkedIn_job_manager.py index 45a8a52..79dfece 100644 --- a/linkedIn_job_manager.py +++ b/linkedIn_job_manager.py @@ -145,7 +145,8 @@ class LinkedInJobManager: def write_to_file(self, job, file_name): - pdf_path = Path(job.pdf_path).as_uri() + pdf_path = Path(job.pdf_path).resolve() + pdf_path = pdf_path.as_uri() data = { "company": job.company, "job_title": job.title, diff --git a/main.py b/main.py index 8da7cb1..1679bf7 100644 --- a/main.py +++ b/main.py @@ -158,6 +158,7 @@ def create_and_run_bot(email: str, password: str, parameters: dict, openai_api_k os.system('cls' if os.name == 'nt' else 'clear') resume_generator_manager.choose_style() os.system('cls' if os.name == 'nt' else 'clear') + job_application_profile_object = JobApplicationProfile(plain_text_resume) browser = init_browser()