mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
o no
This commit is contained in:
parent
bc7af1d1c8
commit
138c2bbcbb
|
@ -381,7 +381,7 @@ def walkdirs(err, tops):
|
||||||
stop = os.path.dirname(top)
|
stop = os.path.dirname(top)
|
||||||
|
|
||||||
if os.path.isdir(top):
|
if os.path.isdir(top):
|
||||||
yield stop, "", os.stat(stop)
|
yield stop, b"", os.stat(stop)
|
||||||
for ap, inf in walkdir(err, top, []):
|
for ap, inf in walkdir(err, top, []):
|
||||||
yield stop, ap[len(stop) :].lstrip(sep), inf
|
yield stop, ap[len(stop) :].lstrip(sep), inf
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue