Added '*' to the list of characters removed from search terms. This is a

wildcard at NZBMatrix that was returning 100 hits.
This commit is contained in:
sbuser
2011-08-10 20:11:14 -05:00
parent 74b8a88f29
commit 976311613b

View File

@@ -70,7 +70,7 @@ def searchNZB(albumid=None, new=False):
except TypeError:
year = ''
dic = {'...':'', ' & ':' ', ' = ': ' ', '?':'', '$':'s', ' + ':' ', '"':'', ',':''}
dic = {'...':'', ' & ':' ', ' = ': ' ', '?':'', '$':'s', ' + ':' ', '"':'', ',':'', '*':''}
cleanalbum = helpers.latinToAscii(helpers.replace_all(albums[1], dic))
cleanartist = helpers.latinToAscii(helpers.replace_all(albums[0], dic))