mirror of
https://gitlab.com/octtspacc/staticoso
synced 2025-06-05 22:09:23 +02:00
More coherent conf. flags, Updated README, minor code improv.
This commit is contained in:
@ -37,8 +37,8 @@ def EvalOpt(Opt):
|
||||
else:
|
||||
return None
|
||||
|
||||
def OptionChoose(Default, Primary, Secondary):
|
||||
return Primary if Primary != None else Secondary if Secondary != None else Default
|
||||
def OptionChoose(Default, Primary, Secondary, Tertiary=None):
|
||||
return Primary if Primary != None else Secondary if Secondary != None else Tertiary if Tertiary != None else Default
|
||||
|
||||
def StringBoolChoose(Default, Primary, Secondary):
|
||||
Var = Default
|
||||
|
Reference in New Issue
Block a user