From d9b9447242a6e35c4c6f5d64dc53f555c1c521be Mon Sep 17 00:00:00 2001 From: Ruud Date: Fri, 17 Jan 2014 22:37:01 +0100 Subject: [PATCH] Change cachekey if info not extended --- couchpotato/core/providers/info/themoviedb/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/providers/info/themoviedb/main.py b/couchpotato/core/providers/info/themoviedb/main.py index 9587ba41..dd0dc1ef 100644 --- a/couchpotato/core/providers/info/themoviedb/main.py +++ b/couchpotato/core/providers/info/themoviedb/main.py @@ -66,7 +66,7 @@ class TheMovieDb(MovieProvider): if not identifier: return {} - cache_key = 'tmdb.cache.%s' % identifier + cache_key = 'tmdb.cache.%s%s' % (identifier, '.ex' if extended else '') result = self.getCache(cache_key) if not result: @@ -88,7 +88,7 @@ class TheMovieDb(MovieProvider): def parseMovie(self, movie, extended = True): - cache_key = 'tmdb.cache.%s' % movie.id + cache_key = 'tmdb.cache.%s%s' % (movie.id, '.ex' if extended else '') movie_data = self.getCache(cache_key) if not movie_data: