This commit is contained in:
deathbybandaid 2020-12-16 08:20:20 -05:00
parent f730e9e00c
commit 0404e17474

View File

@ -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)