diff --git a/bibcheck.py b/bibcheck.py index e0ff861..ef34892 100644 --- a/bibcheck.py +++ b/bibcheck.py @@ -32,7 +32,7 @@ def main(): if delta.days <= 10 or delta.days == 20 or delta.days == 15: pushover.Client('u5w9h8gc7hpzvr5a2kh2xh4m9zpidq').send_message('Bitte an {} denken, Abgabe {}'.format(info[3], info[1]), title="Erinnerung") - requests.post("https://health.d1v3.de/ping/5185e698-ea0b-44e0-857e-8f52487dca5d", data='\n'.join(allinfo)) + requests.post("https://health.d1v3.de/ping/5185e698-ea0b-44e0-857e-8f52487dca5d", data='\n'.join(allinfo).encode('utf8')) if __name__ == "__main__": main()