test
This commit is contained in:
parent
f730e9e00c
commit
0404e17474
@ -291,7 +291,7 @@ class EPG():
|
||||
self.fhdhr.logger.info("Wrote " + epgtypename + " EPG cache.")
|
||||
|
||||
def run(self):
|
||||
# time.sleep(1800)
|
||||
time.sleep(1800)
|
||||
try:
|
||||
while True:
|
||||
for epg_method in self.epg_methods:
|
||||
@ -301,7 +301,6 @@ class EPG():
|
||||
updatetheepg = True
|
||||
elif time.time() >= (last_update_time + self.sleeptime[epg_method]):
|
||||
updatetheepg = True
|
||||
updatetheepg = True
|
||||
if updatetheepg:
|
||||
try:
|
||||
self.fhdhr.web.session.get(self.epg_update_url, timeout=0.0000000001)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user