forked from openlp/openlp
Fixes
This commit is contained in:
parent
bc6eca2dec
commit
7f3f866a00
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user