Skip to content

Commit 08ea502

Browse files
committed
Changed back to mistakenly edit lines
1 parent 05dbd9b commit 08ea502

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ctfcli/core/challenge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ def verify(self, ignore: Tuple[str] = ()) -> bool:
10141014
continue
10151015

10161016
if key == "next":
1017-
if self._compare_challenge_next(challenge[key], normalized_challenge[key]["prerequisites"]):
1017+
if self._compare_challenge_next(challenge[key], normalized_challenge[key]):
10181018
continue
10191019

10201020
click.secho(

ctfcli/spec/challenge-example.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ requirements:
125125
# - "Are you alive"
126126
# anonymize: true
127127

128+
# The next is used to display a next recommended challenge to a user when
128129
# the user correctly answers the current challenge.
129130
# Can be removed if unused
130131
# Accepts a challenge name as a string, a challenge ID as an integer, or null

0 commit comments

Comments
 (0)