test
This commit is contained in:
parent
b48c3854f7
commit
3a36182fa6
@ -1,6 +1,5 @@
|
|||||||
import datetime
|
import datetime
|
||||||
import urllib.parse
|
import urllib.parse
|
||||||
import json
|
|
||||||
|
|
||||||
|
|
||||||
class OriginEPG():
|
class OriginEPG():
|
||||||
@ -106,7 +105,8 @@ class OriginEPG():
|
|||||||
except self.fhdhr.web.exceptions.HTTPError:
|
except self.fhdhr.web.exceptions.HTTPError:
|
||||||
self.fhdhr.logger.info('Got an error! Ignoring it.')
|
self.fhdhr.logger.info('Got an error! Ignoring it.')
|
||||||
return
|
return
|
||||||
result = json.loads(resp)
|
print(resp)
|
||||||
|
result = resp
|
||||||
|
|
||||||
self.fhdhr.db.set_cacheitem_value(jsonid + "_" + str(cache_key), "offline_cache", result, "origin")
|
self.fhdhr.db.set_cacheitem_value(jsonid + "_" + str(cache_key), "offline_cache", result, "origin")
|
||||||
cache_list = self.fhdhr.db.get_cacheitem_value("cache_list", "offline_cache", "origin") or []
|
cache_list = self.fhdhr.db.get_cacheitem_value("cache_list", "offline_cache", "origin") or []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user