Update ctftool

master
James Sigurðarson 2017-09-27 10:27:41 +00:00 committed by GitHub
parent 2e097db843
commit 20a27a874f
1 changed files with 2 additions and 2 deletions

View File

@ -125,11 +125,11 @@ def scan_challenges(args):
os.makedirs(config.static_dir, exist_ok=True)
for root, dirs, files in os.walk(path):
if "stage.yml" in files:
scan_challenges_stage(root, files)
if "problem.yml" in files:
n += 1
scan_challenges_problem(root, files)
if "stage.yml" in files:
scan_challenges_stage(root, files)
print(n, "challenges loaded")