diff --git a/core/views/uploads.py b/core/views/uploads.py index 7e25980..2aff64b 100644 --- a/core/views/uploads.py +++ b/core/views/uploads.py @@ -486,7 +486,8 @@ def scanupload(request, path=None): try: for f in dirpath.iterdir(): if f.is_dir(): - dirs.append(f.name) + for d in f.iterdir(): + dirs.append(f'{f.name}/{d.name}') if f.is_file(): files.append(f.name) except FileNotFoundError: diff --git a/templates/walletform.html b/templates/walletform.html index 1b87284..04ad639 100644 --- a/templates/walletform.html +++ b/templates/walletform.html @@ -66,7 +66,7 @@ {% endfor %}