Strip periods and colons from search terms

This commit is contained in:
rembo10
2012-03-22 16:25:21 +00:00
parent 05f1e8648d
commit dfffe542be

View File

@@ -114,7 +114,7 @@ def searchNZB(albumid=None, new=False, losslessOnly=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))