diff --git a/fHDHR/device/epg/__init__.py b/fHDHR/device/epg/__init__.py index 8363b70..a9a87e7 100644 --- a/fHDHR/device/epg/__init__.py +++ b/fHDHR/device/epg/__init__.py @@ -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)