1
0
mirror of https://github.com/moparisthebest/SickRage synced 2025-01-11 22:08:02 -05:00

Fixed issues with cache results being used during searches

This commit is contained in:
echel0n 2014-09-07 02:41:21 -07:00
parent 2193a4bfd1
commit 8f6d014830

View File

@ -263,9 +263,9 @@ class GenericProvider:
cacheResult = self.cache.searchCache(epObj, manualSearch)
if cacheResult:
if epObj.episode not in results:
results[epObj.episode] = [cacheResult]
results[epObj.episode] = cacheResult
else:
results[epObj.episode].append(cacheResult)
results[epObj.episode].extend(cacheResult)
# found result, search next episode
continue