master
James Sigurðarson 2016-08-03 21:13:56 +00:00
parent 88bfc44795
commit 7e68049b07
1 changed files with 1 additions and 1 deletions

View File

@ -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