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

Commit

Permalink
BELL-Fallback für Beepy
Browse files Browse the repository at this point in the history
Wenn Beepy nicht funktioniert, wird versucht, stattdessen einen Piep über das BELL-Steuerzeichen auszugeben. Hat mir gerade einen Termin gerettet.
  • Loading branch information
sebschmied authored May 26, 2021
1 parent daf5db7 commit c7569ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/its.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,8 @@ def termin_suchen(self, plz):
self.log.success(f"{num}. Termin: {ts}")
if ENABLE_BEEPY:
beepy.beep('coin')
else:
print("\a")
return True, 200
else:
self.log.info(f"Keine Termine verfügbar in {plz}")
Expand Down

0 comments on commit c7569ae

Please sign in to comment.