From 7f3f866a003f57dbce35d20c23bf33d249b5d811 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Wed, 11 Jun 2014 07:26:29 +0200 Subject: [PATCH] Fixes --- openlp/plugins/songs/lib/ewimport.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openlp/plugins/songs/lib/ewimport.py b/openlp/plugins/songs/lib/ewimport.py index 0406bdbaa..58120a82a 100644 --- a/openlp/plugins/songs/lib/ewimport.py +++ b/openlp/plugins/songs/lib/ewimport.py @@ -64,14 +64,12 @@ class EasyWorshipSongImport(SongImport): def doImport(self): # Open the DB and MB files if they exist - import_source_mb = self.importSource.replace('.DB', '.MB') - .replace('.db', '.mb') + import_source_mb = self.importSource.replace('.DB', '.MB').replace('.db', '.mb') if not os.path.isfile(self.importSource): self.logError(self.importSource, translate( 'SongsPlugin.EasyWorshipSongImport', 'This file does not exist.')) return - return if not os.path.isfile(import_source_mb): self.logError(self.importSource, translate( 'SongsPlugin.EasyWorshipSongImport',