forked from openlp/openlp
Fix traceback while handling traceback in videopsalm import
This commit is contained in:
parent
0ca7390a9a
commit
90f927ae7f
@ -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(translate('SongsPlugin.VideoPsalmImport', 'File %s') % song_file.name,
|
||||||
translate('SongsPlugin.VideoPsalmImport', 'Error: %s') % e)
|
translate('SongsPlugin.VideoPsalmImport', 'Error: %s') % e)
|
||||||
song_file.close()
|
song_file.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user