fix download folder selection dropdown. closes #678

This commit is contained in:
Alex Shnitman
2025-06-05 18:45:36 +03:00
parent b7ef408d5d
commit f494c4f6be
4 changed files with 35 additions and 12 deletions

View File

@@ -224,7 +224,7 @@ def get_custom_dirs():
return re.search(config.CUSTOM_DIRS_EXCLUDE_REGEX, d) is None
# Recursively lists all subdirectories of DOWNLOAD_DIR
dirs = list(filter(include_dir, map(convert, path.glob('**'))))
dirs = list(filter(include_dir, map(convert, path.glob('**/'))))
return dirs