forked from openlp/openlp
EW6 Importer: Replace appended string paths with os.path.join.
This commit is contained in:
parent
3f56ca482e
commit
76000b4e26
@ -344,8 +344,8 @@ class EasyWorshipSongImport(SongImport):
|
|||||||
"""
|
"""
|
||||||
Import the songs from an EasyWorship 6 SQLite database
|
Import the songs from an EasyWorship 6 SQLite database
|
||||||
"""
|
"""
|
||||||
songs_db_path = self.import_source + "/Databases/Data/Songs.db"
|
songs_db_path = os.path.join(self.import_source, "Databases", "Data", "Songs.db")
|
||||||
song_words_db_path = self.import_source + "/Databases/Data/SongWords.db"
|
song_words_db_path = os.path.join(self.import_source, "Databases", "Data", "SongWords.db")
|
||||||
# check to see if needed files are there
|
# check to see if needed files are there
|
||||||
if not os.path.isfile(songs_db_path):
|
if not os.path.isfile(songs_db_path):
|
||||||
self.log_error(songs_db_path, translate('SongsPlugin.EasyWorshipSongImport',
|
self.log_error(songs_db_path, translate('SongsPlugin.EasyWorshipSongImport',
|
||||||
|
Loading…
Reference in New Issue
Block a user