From 3163d335439691499cd2dd4d1c0a0c1800333a35 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Thu, 26 May 2016 15:03:00 +0200 Subject: [PATCH] Fix of tracback during SongPro import. Fixes bug 1582152. Fixes: https://launchpad.net/bugs/1582152 --- openlp/plugins/songs/lib/importers/songpro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/plugins/songs/lib/importers/songpro.py b/openlp/plugins/songs/lib/importers/songpro.py index b1c8e7fe8..90fe34492 100644 --- a/openlp/plugins/songs/lib/importers/songpro.py +++ b/openlp/plugins/songs/lib/importers/songpro.py @@ -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 = ''