Skip to content

Commit

Permalink
fixing ctrl_ctf.py add_chall
Browse files Browse the repository at this point in the history
  • Loading branch information
ShyftXero committed Dec 24, 2023
1 parent de4cb41 commit 81b3888
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database.py
Original file line number Diff line number Diff line change
Expand Up @@ -1479,6 +1479,7 @@ def buildChallenge(challenge_object, is_byoc_challenge=False, bypass_cost=False)

parents = list()
for parent in result.get("parent_ids", list()):
# should be a list of strs
c = Challenge.get(uuid=parent)
parents.append(c)
# breakpoint()
Expand Down

0 comments on commit 81b3888

Please sign in to comment.