From f63924472dada4df01367a983f037673f16062c6 Mon Sep 17 00:00:00 2001 From: Aaron Cohen Date: Sun, 23 Sep 2012 21:35:13 -0700 Subject: [PATCH] Replace commas in album names with spaces rather than removing them. --- headphones/searcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/searcher.py b/headphones/searcher.py index 4c9b2a9f..e4f17d6f 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -646,7 +646,7 @@ def searchTorrent(albumid=None, new=False, losslessOnly=False): except TypeError: year = '' - dic = {'...':'', ' & ':' ', ' = ': ' ', '?':'', '$':'s', ' + ':' ', '"':'', ',':'', '*':''} + dic = {'...':'', ' & ':' ', ' = ': ' ', '?':'', '$':'s', ' + ':' ', '"':'', ',':' ', '*':''} semi_cleanalbum = helpers.replace_all(albums[1], dic) cleanalbum = helpers.latinToAscii(semi_cleanalbum)