1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Another test fix for anime PP issues

This commit is contained in:
echel0n 2014-07-18 00:03:29 -07:00
parent 9bef354899
commit 579681386e

View File

@ -44,7 +44,7 @@ class NameParser(object):
self.naming_pattern = naming_pattern
self.regexModes = [self.NORMAL_REGEX, self.SPORTS_REGEX, self.ANIME_REGEX]
if self.showObj and not (self.showObj.is_anime or self.showObj.is_sports):
if self.showObj and not self.showObj.is_anime and not self.showObj.is_sports:
self.regexModes = [self.NORMAL_REGEX]
elif self.showObj and self.showObj.is_anime:
self.regexModes = [self.ANIME_REGEX]