From dcc0a61560cb9907920fea0afcef0d912721396a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Arnauts?= Date: Thu, 10 Sep 2020 21:06:02 +0200 Subject: [PATCH] Fix loading content from cache --- resources/lib/viervijfzes/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/viervijfzes/content.py b/resources/lib/viervijfzes/content.py index d829668..cd75224 100644 --- a/resources/lib/viervijfzes/content.py +++ b/resources/lib/viervijfzes/content.py @@ -602,7 +602,7 @@ class ContentApi: def _get_cache(self, key, allow_expired=False): """ Get an item from the cache """ filename = ('.'.join(key) + '.json').replace('/', '_') - fullpath = self._cache_path + filename + fullpath = os.path.join(self._cache_path, filename) if not os.path.exists(fullpath): return None