mirror of
https://github.com/netzbegruenung/schaufenster.git
synced 2024-05-06 11:03:41 +02:00
Little bug fix
This commit is contained in:
parent
1c538eb445
commit
acffd32511
|
@ -12,8 +12,8 @@ class Client(object):
|
||||||
self.url = url
|
self.url = url
|
||||||
self.charset = charset
|
self.charset = charset
|
||||||
self.events = []
|
self.events = []
|
||||||
self.__load()
|
|
||||||
self.timeout = 20
|
self.timeout = 20
|
||||||
|
self.__load()
|
||||||
|
|
||||||
def __load(self):
|
def __load(self):
|
||||||
r = requests.get(self.url, timeout=self.timeout)
|
r = requests.get(self.url, timeout=self.timeout)
|
||||||
|
|
Loading…
Reference in a new issue