mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Reverted episode cache changes
This commit is contained in:
parent
44358ef601
commit
c2ba2d6550
1 changed files with 3 additions and 3 deletions
|
@ -337,7 +337,7 @@ class GenericMetadata():
|
|||
def create_season_posters(self, show_obj):
|
||||
if self.season_posters and show_obj:
|
||||
result = []
|
||||
for season, episodes in sickbeard.episodeCache.iteritems(): # @UnusedVariable
|
||||
for season, episodes in show_obj.episodes.iteritems(): # @UnusedVariable
|
||||
if not self._has_season_poster(show_obj, season):
|
||||
logger.log(u"Metadata provider " + self.name + " creating season posters for " + show_obj.name,
|
||||
logger.DEBUG)
|
||||
|
@ -348,7 +348,7 @@ class GenericMetadata():
|
|||
def create_season_banners(self, show_obj):
|
||||
if self.season_banners and show_obj:
|
||||
result = []
|
||||
for season, episodes in sickbeard.episodeCache.iteritems(): # @UnusedVariable
|
||||
for season, episodes in show_obj.episodes.iteritems(): # @UnusedVariable
|
||||
if not self._has_season_banner(show_obj, season):
|
||||
logger.log(u"Metadata provider " + self.name + " creating season banners for " + show_obj.name,
|
||||
logger.DEBUG)
|
||||
|
@ -985,4 +985,4 @@ class GenericMetadata():
|
|||
except Exception, e:
|
||||
pass
|
||||
|
||||
logger.log(u"Could not find any posters or background for " + show.name, logger.DEBUG)
|
||||
logger.log(u"Could not find any posters or background for " + show.name, logger.DEBUG)
|
||||
|
|
Loading…
Reference in a new issue