From a92fc0f29188948c1a7daf663699ab303ce8a17b Mon Sep 17 00:00:00 2001 From: Matthias Bilger Date: Sat, 28 Sep 2019 18:45:27 +0200 Subject: [PATCH] utf8 encoding --- bibcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()