Implement a quick fix for a bug
There was an issue when the user would view their job in the account manager. If the user didn't have a job the code would continue to look for the user's job and it would fail and cause the program to stop running.
This commit is contained in:
parent
ecacfaf64f
commit
cf52cdd61f
@ -126,7 +126,7 @@ Options:
|
|||||||
if job is None:
|
if job is None:
|
||||||
print("You do not have a job at the moment")
|
print("You do not have a job at the moment")
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
else:
|
||||||
job_details = get_job_details(job)
|
job_details = get_job_details(job)
|
||||||
|
|
||||||
print(f"Job Title: {job_details.title}\n"
|
print(f"Job Title: {job_details.title}\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user