mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-29 05:11:52 +00:00
Make scans in subfolders somewhat visible
This commit is contained in:
parent
f3ecdd6d87
commit
760dbc588a
@ -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:
|
||||
|
@ -66,7 +66,7 @@
|
||||
{% endfor %}
|
||||
<ul>
|
||||
{% for d in dirs %}
|
||||
<li>folder exists: <em>{{d}}</em>
|
||||
<li><em>{{d}}</em>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user