1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00
This commit is contained in:
echel0n 2014-08-09 11:28:22 +00:00
parent 6a5567d040
commit 3ae4c13104

View File

@ -236,8 +236,6 @@ class NameParser(object):
# get quality
bestResult.quality = common.Quality.nameQuality(name, bestResult.show.is_anime)
season_number = None
episode_numbers = []
new_episode_numbers = []
new_season_numbers = []
new_absolute_numbers = []
@ -275,8 +273,10 @@ class NameParser(object):
episode_numbers = [int(epObj["episodenumber"])]
except sickbeard.indexer_episodenotfound:
logger.log(u"Unable to find episode with date " + str(parse_result.air_date) + " for show " + bestResult.show.name + ", skipping", logger.WARNING)
episode_numbers = []
except sickbeard.indexer_error, e:
logger.log(u"Unable to contact " + sickbeard.indexerApi(bestResult.show.indexer).name + ": " + ex(e), logger.WARNING
episode_numbers = []
for epNo in episode_numbers:
s = season_number