Fix traceback in VideoPsalm importers traceback handler.

This commit is contained in:
Tomas Groth 2016-06-16 23:00:13 +02:00
parent 7265065906
commit cadc21b5c0

View File

@ -117,6 +117,6 @@ class VideoPsalmImport(SongImport):
if not self.finish(): if not self.finish():
self.log_error('Could not import %s' % self.title) self.log_error('Could not import %s' % self.title)
except Exception as e: except Exception as e:
self.log_error(translate('SongsPlugin.VideoPsalmImport', 'File %s' % file.name), self.log_error(self.import_source,
translate('SongsPlugin.VideoPsalmImport', 'Error: %s') % e) translate('SongsPlugin.VideoPsalmImport', 'Error: %s') % e)
song_file.close() song_file.close()