From 40071ffaf91c9a6140cf9e76280129ed023b2c55 Mon Sep 17 00:00:00 2001 From: sarakha63 Date: Tue, 30 Dec 2014 00:33:03 +0100 Subject: [PATCH] forgot the new config in headphones --- headphones/webserve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/webserve.py b/headphones/webserve.py index ff0c9f94..0f3b2967 100644 --- a/headphones/webserve.py +++ b/headphones/webserve.py @@ -259,7 +259,7 @@ class WebInterface(object): logger.info(u"Scanning artist: " + ArtistID) myDB = db.DBConnection() artistname=myDB.select('select distinct ArtistName from artists WHERE ArtistID=?', [ArtistID]) - artistfolder= os.path.join(headphones.DESTINATION_DIR,artistname[0][0]) + artistfolder= os.path.join(headphones.CONFIG.DESTINATION_DIR,artistname[0][0]) try: threading.Thread(target=librarysync.libraryScan(dir=artistfolder)).start() except Exception, e: