diff options
-rw-r--r-- | default.py | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -26,7 +26,19 @@ KAN_URL = 'http://www.kan.org.il' USER_AGENT = 'Kodi/plugin.video.kan/1.0' # I'm optimistic PLUGIN_NAME = "plugin.video.kan" # FIXME: a better way to get this? +class DummyCache: + def __init__(self): + pass + + def get(self, cache_id, checksum=''): + return None + + def set(self, cache_id, data, checksum='', expiration=None): + pass + + SiteCache = simplecache.SimpleCache() # FIXME: avoid this global +#SiteCache = DummyCache() # Avoid caching for now def trace(msg): xbmc.log(msg="Tzafrir: " + msg, level=xbmc.LOGNOTICE) |