mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 19:42:20 -05:00
Removed a sleep timer
This commit is contained in:
parent
9fe6b66475
commit
3fd5f75180
@ -224,8 +224,6 @@ class NameParser(object):
|
|||||||
|
|
||||||
matches.append(result)
|
matches.append(result)
|
||||||
|
|
||||||
time.sleep(0.02)
|
|
||||||
|
|
||||||
if len(matches):
|
if len(matches):
|
||||||
# pick best match with highest score based on placement
|
# pick best match with highest score based on placement
|
||||||
bestResult = max(sorted(matches, reverse=True, key=lambda x: x.which_regex), key=lambda x: x.score)
|
bestResult = max(sorted(matches, reverse=True, key=lambda x: x.which_regex), key=lambda x: x.score)
|
||||||
|
Loading…
Reference in New Issue
Block a user