mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Testing another fix for anime PP issues.
This commit is contained in:
parent
42c0d7f9f6
commit
9bef354899
@ -111,6 +111,8 @@ class NameParser(object):
|
||||
|
||||
self._compile_regexes(regexMode)
|
||||
for (cur_regexMode, cur_regex_name, cur_regex) in self.compiled_regexes:
|
||||
time.sleep(0.02)
|
||||
|
||||
if doneSearch:
|
||||
break
|
||||
|
||||
@ -138,10 +140,7 @@ class NameParser(object):
|
||||
result.show = helpers.get_show_by_name(result.series_name, useIndexer=self.useIndexers)
|
||||
|
||||
if not result.show:
|
||||
if len(self.regexModes) > 1:
|
||||
break
|
||||
else:
|
||||
continue
|
||||
continue
|
||||
|
||||
result.score += 1
|
||||
|
||||
@ -221,7 +220,7 @@ class NameParser(object):
|
||||
|
||||
matches.append(result)
|
||||
|
||||
time.sleep(0.05)
|
||||
time.sleep(0.02)
|
||||
|
||||
if len(matches):
|
||||
# pick best match with highest score based on placement
|
||||
|
Loading…
Reference in New Issue
Block a user