mirror of
https://github.com/stronk-dev/Guitar-Sheet-Parser.git
synced 2025-07-05 08:25:09 +02:00
maxdepth changed
This commit is contained in:
parent
72b8a1ab3d
commit
ff1f14bef2
@ -48,7 +48,7 @@ def walkDirectory(root, depth):
|
|||||||
for f in os.listdir(start_dir):
|
for f in os.listdir(start_dir):
|
||||||
ff = os.path.join(start_dir,f)
|
ff = os.path.join(start_dir,f)
|
||||||
if os.path.isdir(ff):
|
if os.path.isdir(ff):
|
||||||
if depth>= 0:
|
if depth > 0:
|
||||||
do_scan(ff,output,depth-1)
|
do_scan(ff,output,depth-1)
|
||||||
else:
|
else:
|
||||||
output.append(ff)
|
output.append(ff)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user