diff --git a/accounts.py b/accounts.py index a800613..5d91c51 100644 --- a/accounts.py +++ b/accounts.py @@ -126,13 +126,13 @@ Options: if job is None: print("You do not have a job at the moment") time.sleep(3) + else: + job_details = get_job_details(job) - job_details = get_job_details(job) - - print(f"Job Title: {job_details.title}\n" - f"Education Requirement: {job_details.education}\n" - f"Pay Per Hour: {job_details.pph}") - time.sleep(3) + print(f"Job Title: {job_details.title}\n" + f"Education Requirement: {job_details.education}\n" + f"Pay Per Hour: {job_details.pph}") + time.sleep(3) # end job # begin bank elif option == "bank":