mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Added urllib.quote to HeadPhones dirName passing
This commit is contained in:
parent
a2eb80f619
commit
9bd7eb4ec7
2 changed files with 2 additions and 13 deletions
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue