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

View File

@ -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',