Code cleanup
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from .main import Score
|
||||
|
||||
|
||||
def start():
|
||||
return Score()
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ def nameScore(name, year, preferred_words):
|
||||
|
||||
return score
|
||||
|
||||
|
||||
def nameRatioScore(nzb_name, movie_name):
|
||||
nzb_words = re.split('\W+', fireEvent('scanner.create_file_identifier', nzb_name, single = True))
|
||||
movie_words = re.split('\W+', simplifyString(movie_name))
|
||||
|
||||
Reference in New Issue
Block a user