Added urllib.quote to HeadPhones dirName passing

This commit is contained in:
echel0n 2014-04-13 12:33:27 -07:00
commit 9bd7eb4ec7
2 changed files with 2 additions and 13 deletions

View file

@ -442,15 +442,4 @@ def cleanup_directories(inputCategory, processCategories, result, directory):
else:
logger.info("Directory %s still contains %s media and/or meta files. This directory will not be removed.", directory, num_files_new)
for item in file_list:
logger.debug("media/meta file found: %s", item)
def is_subdir(path, directory):
path = os.path.realpath(path)
directory = os.path.realpath(directory)
relative = os.path.relpath(path, directory)
if relative.startswith(os.pardir + os.sep):
return False
else:
return True
logger.debug("media/meta file found: %s", item)