diff --git a/fHDHR/device/epg/__init__.py b/fHDHR/device/epg/__init__.py index f7fd1c4..4bf1274 100644 --- a/fHDHR/device/epg/__init__.py +++ b/fHDHR/device/epg/__init__.py @@ -302,7 +302,7 @@ class EPG(): updatetheepg = True if updatetheepg: 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: pass except self.fhdhr.web.exceptions.ConnectionError as e: diff --git a/fHDHR_web/api/startup_tasks.py b/fHDHR_web/api/startup_tasks.py index 7cad41f..41968c3 100644 --- a/fHDHR_web/api/startup_tasks.py +++ b/fHDHR_web/api/startup_tasks.py @@ -29,6 +29,6 @@ class Startup_Tasks(): # Hit EPG Update API 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"