Change CheckVarAction default to be != False instead of == True
Like most programs, we like a value to be "not false" instead of "truthy". Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -319,8 +319,8 @@ class CheckVarAction(Action):
|
|||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
var_id: str,
|
var_id: str,
|
||||||
compare: Compare = Compare.EQUALS,
|
compare: Compare = Compare.NOT_EQUALS,
|
||||||
against: Any = True,
|
against: Any = False,
|
||||||
yes: Union[Action, Sequence[Action]] = [],
|
yes: Union[Action, Sequence[Action]] = [],
|
||||||
no: Union[Action, Sequence[Action]] = [],
|
no: Union[Action, Sequence[Action]] = [],
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user