1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 13:06:59 -05:00

Merge pull request #110 from deathbybandaid/dev

Patch EPG timeout Error
This commit is contained in:
Deathbybandaid 2021-01-06 09:00:45 -05:00 committed by GitHub
commit f1dab94210
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -301,7 +301,7 @@ class EPG():
elif time.time() >= (last_update_time + self.sleeptime[epg_method]): elif time.time() >= (last_update_time + self.sleeptime[epg_method]):
updatetheepg = True updatetheepg = True
if updatetheepg: if updatetheepg:
self.fhdhr.api.get("%s&source=%s" % (self.epg_update_url, epg_method), timeout=0.0000000001) self.fhdhr.api.get("%s&source=%s" % (self.epg_update_url, epg_method))
time.sleep(1800) time.sleep(1800)
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass