From 90f927ae7ff93baf6bb5b57968467dfbea122416 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Tue, 24 May 2016 13:40:01 +0200 Subject: [PATCH] Fix traceback while handling traceback in videopsalm import --- openlp/plugins/songs/lib/importers/videopsalm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/plugins/songs/lib/importers/videopsalm.py b/openlp/plugins/songs/lib/importers/videopsalm.py index 0bc581239..6723fb4c1 100644 --- a/openlp/plugins/songs/lib/importers/videopsalm.py +++ b/openlp/plugins/songs/lib/importers/videopsalm.py @@ -117,6 +117,6 @@ class VideoPsalmImport(SongImport): if not self.finish(): self.log_error('Could not import %s' % self.title) except Exception as e: - self.log_error(translate('SongsPlugin.VideoPsalmImport', 'File %s' % file.name), + self.log_error(translate('SongsPlugin.VideoPsalmImport', 'File %s') % song_file.name, translate('SongsPlugin.VideoPsalmImport', 'Error: %s') % e) song_file.close()