test
This commit is contained in:
parent
f730e9e00c
commit
0404e17474
@ -291,7 +291,7 @@ class EPG():
|
|||||||
self.fhdhr.logger.info("Wrote " + epgtypename + " EPG cache.")
|
self.fhdhr.logger.info("Wrote " + epgtypename + " EPG cache.")
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
# time.sleep(1800)
|
time.sleep(1800)
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
for epg_method in self.epg_methods:
|
for epg_method in self.epg_methods:
|
||||||
@ -301,7 +301,6 @@ class EPG():
|
|||||||
updatetheepg = True
|
updatetheepg = True
|
||||||
elif time.time() >= (last_update_time + self.sleeptime[epg_method]):
|
elif time.time() >= (last_update_time + self.sleeptime[epg_method]):
|
||||||
updatetheepg = True
|
updatetheepg = True
|
||||||
updatetheepg = True
|
|
||||||
if updatetheepg:
|
if updatetheepg:
|
||||||
try:
|
try:
|
||||||
self.fhdhr.web.session.get(self.epg_update_url, timeout=0.0000000001)
|
self.fhdhr.web.session.get(self.epg_update_url, timeout=0.0000000001)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user