diff --git a/fHDHR_web/api/startup_tasks.py b/fHDHR_web/api/startup_tasks.py index 66bb9a4..63c2c2f 100644 --- a/fHDHR_web/api/startup_tasks.py +++ b/fHDHR_web/api/startup_tasks.py @@ -16,7 +16,7 @@ class Startup_Tasks(): def get(self, *args): - # Hit Channel Update API URL without waiting unless we've never scanned before + # Hit Channel Update API haseverscanned = self.fhdhr.db.get_fhdhr_value("channels", "scanned_time") updatechannels = False if not haseverscanned: @@ -25,9 +25,9 @@ class Startup_Tasks(): updatechannels = True if updatechannels: - self.fhdhr.api.client.get(self.channel_update_url, timeout=0.0000000001) + self.fhdhr.api.client.get(self.channel_update_url) - # Hit EPG Update API URL without waiting - self.fhdhr.api.client.get(self.epg_update_url, timeout=0.0000000001) + # Hit EPG Update API + self.fhdhr.api.client.get(self.epg_update_url) return "Success"