diff --git a/bibcheck.py b/bibcheck.py index 2289536..a575262 100644 --- a/bibcheck.py +++ b/bibcheck.py @@ -56,7 +56,7 @@ def check(username, password, notify_ids): delta = date - datetime.datetime.now() allinfo.append(str(info)) if delta.days <= 10 or delta.days == 20 or delta.days == 15: - for client in itertools.join(notify_ids, os.environ['PUSHOVER_CLIENTS'].split(',')): + 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(',')):