mirror of
https://github.com/netzbegruenung/schaufenster.git
synced 2024-05-06 02:53:40 +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.charset = charset
|
||||
self.events = []
|
||||
self.__load()
|
||||
self.timeout = 20
|
||||
self.__load()
|
||||
|
||||
def __load(self):
|
||||
r = requests.get(self.url, timeout=self.timeout)
|
||||
|
|
Loading…
Reference in a new issue