mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 11:36:59 -05:00
Fix EPG Update Typos
This commit is contained in:
parent
2cf0f3d891
commit
1199489cc3
@ -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:
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user