Fix of tracback during SongPro import. Fixes bug 1582152.

Fixes: https://launchpad.net/bugs/1582152
This commit is contained in:
Tomas Groth 2016-05-16 12:15:53 +02:00
parent 94a8057a6a
commit eb15f09a47
1 changed files with 1 additions and 1 deletions

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 = ''