1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-05-29 02:45:07 +02: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'