forgot the new config in headphones

This commit is contained in:
sarakha63
2014-12-30 00:33:03 +01:00
committed by Bas Stottelaar
parent 501e3c1217
commit 40071ffaf9
+1 -1
View File
@@ -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: