This commit is contained in:
ed 2022-12-11 18:30:29 +00:00
parent bc7af1d1c8
commit 138c2bbcbb

View file

@ -381,7 +381,7 @@ def walkdirs(err, tops):
stop = os.path.dirname(top)
if os.path.isdir(top):
yield stop, "", os.stat(stop)
yield stop, b"", os.stat(stop)
for ap, inf in walkdir(err, top, []):
yield stop, ap[len(stop) :].lstrip(sep), inf
else: