Fix of tracback during SongPro import. Fixes bug 1582152.

Fixes: https://launchpad.net/bugs/1582152
This commit is contained in:
Tomas Groth 2016-05-26 15:03:00 +02:00
parent fd4cfd1eaa
commit 3163d33543

View File

@ -72,7 +72,7 @@ class SongProImport(SongImport):
Receive a single file or a list of files to import.
"""
self.encoding = None
with open(self.import_source, 'rt') as songs_file:
with open(self.import_source, 'rt', errors='ignore') as songs_file:
self.import_wizard.progress_bar.setMaximum(0)
tag = ''
text = ''