Fix traceback while handling traceback in videopsalm import

This commit is contained in:
Tomas Groth 2016-05-24 13:40:01 +02:00
parent 0ca7390a9a
commit 90f927ae7f

View File

@ -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()