From 76000b4e265dbbae0d7bf93dea9a5d23c51df624 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 30 Mar 2017 15:48:23 -0500 Subject: [PATCH] EW6 Importer: Replace appended string paths with os.path.join. --- openlp/plugins/songs/lib/importers/easyworship.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/songs/lib/importers/easyworship.py b/openlp/plugins/songs/lib/importers/easyworship.py index c6f781ef7..6d224dec1 100644 --- a/openlp/plugins/songs/lib/importers/easyworship.py +++ b/openlp/plugins/songs/lib/importers/easyworship.py @@ -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',