From 1a2fb5c36d13c9ea6120ef291999ddcc948cf5c5 Mon Sep 17 00:00:00 2001 From: Remy Date: Sat, 30 Jul 2011 19:21:11 -0700 Subject: [PATCH] Bug fix: Dropping exclamation points in searches --- headphones/searcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/searcher.py b/headphones/searcher.py index 30d5e8db..970e0ec2 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -26,7 +26,7 @@ def searchNZB(albumid=None, new=False): except TypeError: year = '' - dic = {'...':'', ' & ':' ', ' = ': ' ', '?':'', '!':'', ' + ':' ', '"':'', ',':''} + dic = {'...':'', ' & ':' ', ' = ': ' ', '?':'', '$':'s', ' + ':' ', '"':'', ',':''} cleanartistalbum = helpers.latinToAscii(helpers.replace_all(albums[0]+' '+albums[1], dic))