CTFd / CTFd/ctfcli

`ctf challenge deploy` with registry succeeds but faults with TypeError

Open
#98 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
215
Forks
95
Avg merge
2h 17m
Merged PRs (30d)
1

Description

`ctf challenge deploy chal registry://myregistry` fails with `TypeError: cannot unpack non-iterable NoneType object`, because it tries to unpack data that isn't returned when deploying to a registry:

https://github.com/CTFd/ctfcli/blob/c27282b4532ad514603c923c749719261755eaba/ctfcli/cli/challenges.py#L332

https://github.com/CTFd/ctfcli/blob/c27282b4532ad514603c923c749719261755eaba/ctfcli/utils/deploy.py#L45-L52

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.