mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fixed search issues regarding error about result attribute being referenced early
This commit is contained in:
parent
991a93991e
commit
2193a4bfd1
1 changed files with 2 additions and 2 deletions
|
@ -263,9 +263,9 @@ class GenericProvider:
|
|||
cacheResult = self.cache.searchCache(epObj, manualSearch)
|
||||
if cacheResult:
|
||||
if epObj.episode not in results:
|
||||
results[epObj.episode] = [result]
|
||||
results[epObj.episode] = [cacheResult]
|
||||
else:
|
||||
results[epObj.episode].append(result)
|
||||
results[epObj.episode].append(cacheResult)
|
||||
|
||||
# found result, search next episode
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue