diff --git a/headphones/webserve.py b/headphones/webserve.py index 561dea0e..56d79ea1 100644 --- a/headphones/webserve.py +++ b/headphones/webserve.py @@ -343,7 +343,7 @@ class WebInterface(object): for dir in dirs: artistfolder = os.path.join(dir, folder) - if not os.path.isdir(artistfolder): + if not os.path.isdir(artistfolder.encode(headphones.SYS_ENCODING)): logger.debug("Cannot find directory: " + artistfolder) continue threading.Thread(target=librarysync.libraryScan,