Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #373 from dominikwalk/FixNameError-exception
Browse files Browse the repository at this point in the history
fix(Falsche PLZ): Fixed NameError exception #367
  • Loading branch information
timreibe authored Jun 8, 2021
2 parents d92b2b5 + 04cbbd5 commit 92bd4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/its.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ def termin_suchen(self, plz: str, zeitrahmen: dict):
elif res.status_code == 401:
self.log.error(f"Terminpaare können nicht geladen werden: Impf-Code kann nicht für "
f"die PLZ '{plz}' verwendet werden.")
quit()
sys.exit()
else:
self.log.error(f"Terminpaare können nicht geladen werden: {res.text}")
return False, res.status_code
Expand Down

0 comments on commit 92bd4e3

Please sign in to comment.