From bbffe8343d8dc0f6522af3d14238b731af94ea0b Mon Sep 17 00:00:00 2001 From: matthias Date: Fri, 17 Jan 2020 09:33:29 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Ebibcheck.py=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bibcheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bibcheck.py b/bibcheck.py index a575262..9ca74d5 100644 --- a/bibcheck.py +++ b/bibcheck.py @@ -59,8 +59,8 @@ def check(username, password, notify_ids): for client in itertools.chain(notify_ids, os.environ['PUSHOVER_CLIENTS'].split(',')): pushover.Client(client).send_message(f'Bitte an {info[3]} denken, Abgabe {info[3]} - {username}', title="Erinnerung") except (StopIteration, mechanize._mechanize.LinkNotFoundError) as e: - for client in itertools.join(notify_ids, os.environ['PUSHOVER_CLIENTS'].split(',')): - pushover.Client(client).send_message(f'nichts ausgeliehen {username} ({e})') + #for client in itertools.join(notify_ids, os.environ['PUSHOVER_CLIENTS'].split(',')): + # pushover.Client(client).send_message(f'nichts ausgeliehen {username} ({e})') return [] return allinfo