whoops
parent
88bfc44795
commit
7e68049b07
2
ctftool
2
ctftool
|
@ -72,7 +72,7 @@ def scan_challenges(args):
|
|||
dirs = [j for j in [os.path.join(path, i) for i in os.listdir(path)] if os.path.isdir(j)]
|
||||
# recurse to 2 levels
|
||||
# TODO: do this better
|
||||
dirs = [j for j in [os.path.join(k, i) for i in os.listdir(k) for k in dirs] if os.path.isdir(j)]
|
||||
dirs = [j for j in [os.path.join(k, i) for k in dirs for i in os.listdir(k)] if os.path.isdir(j)]
|
||||
print(dirs)
|
||||
n = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue