Skip to content

Commit

Permalink
fix(Version): Fix print output
Browse files Browse the repository at this point in the history
  • Loading branch information
sinun98 committed Jun 5, 2021
1 parent 107db24 commit 0b44308
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def main():
"Bitte installiere die aktuellste Version. Link zum Download:\n"
"https://github.com/iamnotturner/vaccipy/releases/tag/" + get_latest_version())
except:
print("An exception occurred", sys.exc_info()[0])
print("Konnte nicht auf neuste Version geprüft werden", sys.exc_info()[0])

print("\n")
print("Automatische Terminbuchung für den Corona Impfterminservice\n")
Expand Down
9 changes: 0 additions & 9 deletions tools/its.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,15 +791,6 @@ def terminsuche(code: str, plz_impfzentren: list, kontakt: dict, PATH: str, zeit
# durchlaufe jede eingegebene PLZ und suche nach Termin
for plz in its.plz_impfzentren:
termin_gefunden, status_code = its.termin_suchen(plz, zeitrahmen)

try:
# Updateprüfung
hasupdate = update_available()

if hasupdate:
its.log.warn("Update verfügbar!")
except Exception as exec:
its.log.warn("Konnte nicht auf neuste Version geprüft werden")

# Durchlauf aller PLZ unterbrechen, wenn Termin gefunden wurde
if termin_gefunden:
Expand Down

0 comments on commit 0b44308

Please sign in to comment.