Typo in searcher

This commit is contained in:
Remy
2011-08-06 11:25:56 -07:00
parent 7084d998fe
commit 91a75a8012

View File

@@ -471,7 +471,7 @@ def verifyresult(title, term):
title = re.sub('[\.\-\/]', ' ', title)
if not re.search('^' + re.escape(term), re.subtitle, re.IGNORECASE):
if not re.search('^' + re.escape(term), title, re.IGNORECASE):
logger.info("Removed from results: " + title + " (artist not at string start).")
return False
elif re.search(re.escape(term) + '\w', title, re.IGNORECASE | re.UNICODE):