forked from openlp/openlp
Fix error message for invalid EasyWorship 6 database directories.
The old one was copied from the EasyWorship 2009 database importer.
This commit is contained in:
parent
e07693c95f
commit
2cbf1422d1
@ -371,8 +371,8 @@ class EasyWorshipSongImport(SongImport):
|
|||||||
return
|
return
|
||||||
if not os.path.isfile(song_words_db_path):
|
if not os.path.isfile(song_words_db_path):
|
||||||
self.log_error(song_words_db_path, translate('SongsPlugin.EasyWorshipSongImport',
|
self.log_error(song_words_db_path, translate('SongsPlugin.EasyWorshipSongImport',
|
||||||
'Could not find the "Songs.MB" file. It must be in the same '
|
'This does not appear to be a Easy Worship 6 database '
|
||||||
'folder as the "Songs.DB" file.'))
|
'directory.'))
|
||||||
return
|
return
|
||||||
# get database handles
|
# get database handles
|
||||||
songs_conn = sqlite3.connect(songs_db_path)
|
songs_conn = sqlite3.connect(songs_db_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user