Replace commas in album names with spaces rather than removing them.

This commit is contained in:
Aaron Cohen
2012-09-23 21:35:13 -07:00
parent 0e8de2a0c3
commit f63924472d

View File

@@ -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)