Bug fix * character in filename

This commit is contained in:
davidrot
2013-12-08 11:58:12 +01:00
parent 8ffd451832
commit bb36c914b7

View File

@@ -843,6 +843,7 @@ def renameFiles(albumpath, downloaded_track_list, release):
new_file_name = new_file_name.replace('?','_').replace(':', '_').encode(headphones.SYS_ENCODING, 'replace')
new_file_name = new_file_name.replace('*','_')
if headphones.FILE_UNDERSCORES:
new_file_name = new_file_name.replace(' ', '_')