mirror of
https://github.com/stronk-dev/Guitar-Sheet-Parser.git
synced 2025-07-05 00:25:08 +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):
|
||||
ff = os.path.join(start_dir,f)
|
||||
if os.path.isdir(ff):
|
||||
if depth>= 0:
|
||||
if depth > 0:
|
||||
do_scan(ff,output,depth-1)
|
||||
else:
|
||||
output.append(ff)
|
||||
|
Loading…
x
Reference in New Issue
Block a user