mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-21 08:24:00 +01:00
Typo in searcher
This commit is contained in:
@@ -471,7 +471,7 @@ def verifyresult(title, term):
|
|||||||
|
|
||||||
title = re.sub('[\.\-\/]', ' ', title)
|
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).")
|
logger.info("Removed from results: " + title + " (artist not at string start).")
|
||||||
return False
|
return False
|
||||||
elif re.search(re.escape(term) + '\w', title, re.IGNORECASE | re.UNICODE):
|
elif re.search(re.escape(term) + '\w', title, re.IGNORECASE | re.UNICODE):
|
||||||
|
|||||||
Reference in New Issue
Block a user