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

Fix EPG Update Typos

This commit is contained in:
deathbybadaid 2021-01-05 10:55:56 -05:00
parent 2cf0f3d891
commit 1199489cc3
2 changed files with 2 additions and 2 deletions

View File

@ -302,7 +302,7 @@ class EPG():
updatetheepg = True updatetheepg = True
if updatetheepg: if updatetheepg:
try: try:
self.fhdhr.web.session.get("%s?sorurce=%s" % (self.epg_update_url, epg_method), timeout=0.0000000001) self.fhdhr.web.session.get("%s&source=%s" % (self.epg_update_url, epg_method), timeout=0.0000000001)
except self.fhdhr.web.exceptions.ReadTimeout: except self.fhdhr.web.exceptions.ReadTimeout:
pass pass
except self.fhdhr.web.exceptions.ConnectionError as e: except self.fhdhr.web.exceptions.ConnectionError as e:

View File

@ -29,6 +29,6 @@ class Startup_Tasks():
# Hit EPG Update API # Hit EPG Update API
for epg_method in self.fhdhr.device.epg.epg_methods: for epg_method in self.fhdhr.device.epg.epg_methods:
self.fhdhr.api.client.get("%s?sorurce=%s" % (self.epg_update_url, epg_method), headers=self.fhdhr.api.headers) self.fhdhr.api.client.get("%s&source=%s" % (self.epg_update_url, epg_method), headers=self.fhdhr.api.headers)
return "Success" return "Success"