EW6 Importer: Replace appended string paths with os.path.join.

This commit is contained in:
Gary Talent 2017-03-30 15:48:23 -05:00
parent 3f56ca482e
commit 76000b4e26
1 changed files with 2 additions and 2 deletions

View File

@ -344,8 +344,8 @@ class EasyWorshipSongImport(SongImport):
"""
Import the songs from an EasyWorship 6 SQLite database
"""
songs_db_path = self.import_source + "/Databases/Data/Songs.db"
song_words_db_path = self.import_source + "/Databases/Data/SongWords.db"
songs_db_path = os.path.join(self.import_source, "Databases", "Data", "Songs.db")
song_words_db_path = os.path.join(self.import_source, "Databases", "Data", "SongWords.db")
# check to see if needed files are there
if not os.path.isfile(songs_db_path):
self.log_error(songs_db_path, translate('SongsPlugin.EasyWorshipSongImport',