mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-17 06:45:05 -05:00
Another minor code fix
This commit is contained in:
parent
f5725f4402
commit
6a5567d040
@ -278,17 +278,17 @@ class NameParser(object):
|
|||||||
except sickbeard.indexer_error, e:
|
except sickbeard.indexer_error, e:
|
||||||
logger.log(u"Unable to contact " + sickbeard.indexerApi(bestResult.show.indexer).name + ": " + ex(e), logger.WARNING
|
logger.log(u"Unable to contact " + sickbeard.indexerApi(bestResult.show.indexer).name + ": " + ex(e), logger.WARNING
|
||||||
|
|
||||||
for epNo in episode_numbers:
|
for epNo in episode_numbers:
|
||||||
s = season_number
|
s = season_number
|
||||||
e = epNo
|
e = epNo
|
||||||
|
|
||||||
if self.convert:
|
if self.convert:
|
||||||
(s, e) = scene_numbering.get_indexer_numbering(bestResult.show.indexerid,
|
(s, e) = scene_numbering.get_indexer_numbering(bestResult.show.indexerid,
|
||||||
bestResult.show.indexer,
|
bestResult.show.indexer,
|
||||||
season_number,
|
season_number,
|
||||||
epNo)
|
epNo)
|
||||||
new_episode_numbers.append(e)
|
new_episode_numbers.append(e)
|
||||||
new_season_numbers.append(s)
|
new_season_numbers.append(s)
|
||||||
|
|
||||||
elif bestResult.show.is_anime and len(bestResult.ab_episode_numbers):
|
elif bestResult.show.is_anime and len(bestResult.ab_episode_numbers):
|
||||||
scene_season = scene_exceptions.get_scene_exception_by_name(bestResult.series_name)[1]
|
scene_season = scene_exceptions.get_scene_exception_by_name(bestResult.series_name)[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user