1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 10:24:26 +01:00

Add http sent event client

This commit is contained in:
Thomas 2018-10-18 19:14:10 +02:00 committed by Thomas Schmid
parent 7676f957c5
commit bb70ce7057

View File

@ -5,7 +5,6 @@ import json
class EventClient:
def __init__(self,url):
self.r = requests.get(url,stream=True)
print("connected")
if self.r.encoding is None:
self.r.encoding = 'utf8'