Cannot create a point value of 0
Opened this issue · 1 comments
jimender2 commented
If I have a challenge that I want to have with a value of 0, I get an error saying 'Challenge does not provide a value'
I think this is the offending line and there should be an extra bit of logic to check if the value is 0 or not. Temp solved this by setting values = 1 for the challenges but I dont like that solution.
ctfcli/ctfcli/core/challenge.py
Line 660 in d8e08da
kjcolley7 commented
Probably best to do something like if challenge.get("value", None) is None and ...