We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e08da commit c35ee52Copy full SHA for c35ee52
ctfcli/core/challenge.py
@@ -43,7 +43,7 @@ def str_presenter(dumper, data):
43
class Challenge(dict):
44
key_order = [
45
# fmt: off
46
- "name", "author", "category", "description", "value",
+ "name", "author", "category", "description", "attribution", "value",
47
"type", "extra", "image", "protocol", "host",
48
"connection_info", "healthcheck", "attempts", "flags",
49
"files", "topics", "tags", "files", "hints",
@@ -262,6 +262,7 @@ def _get_initial_challenge_payload(self, ignore: Tuple[str] = ()) -> Dict:
262
"name": self["name"],
263
"category": self.get("category", ""),
264
"description": self.get("description", ""),
265
+ "attribution": self.get("attribution", ""),
266
"type": self.get("type", "standard"),
267
# Hide the challenge for the duration of the sync / creation
268
"state": "hidden",
0 commit comments