From 20a27a874f1480edd9e2ed7e04f8b5aef3b3b3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?James=20Sigur=C3=B0arson?= Date: Wed, 27 Sep 2017 10:27:41 +0000 Subject: [PATCH] Update ctftool --- ctftool | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctftool b/ctftool index af4988a..a9f61d3 100755 --- a/ctftool +++ b/ctftool @@ -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")