Moved clean search query outside the class

This commit is contained in:
RemixDev 2020-05-10 14:50:36 +02:00
parent 92f2687386
commit c21e5ffe27
1 changed files with 8 additions and 8 deletions

View File

@ -494,7 +494,7 @@ class Deezer:
return 0 return 0
return 0 return 0
def clean_search_query(term): def clean_search_query(term):
term = str(term) term = str(term)
term = re.sub(r' feat[\.]? ', " ", term) term = re.sub(r' feat[\.]? ', " ", term)
term = re.sub(r' ft[\.]? ', " ", term) term = re.sub(r' ft[\.]? ', " ", term)