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: