Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ctfcli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def main():
# if the command returns an int, then we serialize it as none to prevent fire from printing it
# (this does not change the actual return value, so it's still good to use as an exit code)
# everything else is returned as is, so fire can print help messages
ret = fire.Fire(CTFCLI, serialize=lambda r: None if isinstance(r, int) else r)
ret = fire.Fire(COMMANDS["cli"], serialize=lambda r: None if isinstance(r, int) else r)

if isinstance(ret, int):
sys.exit(ret)
Expand Down
Loading