mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-25 06:09:26 +00:00
Typo in searcher
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user