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()