morss: Options return None instead of False if no match
Better for default fn valuesmaster
parent
5582fbef31
commit
6f50443995
|
@ -96,7 +96,7 @@ class Options:
|
||||||
return self.options[key]
|
return self.options[key]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
return False
|
return None
|
||||||
|
|
||||||
def __setitem__(self, key, value):
|
def __setitem__(self, key, value):
|
||||||
self.options[key] = value
|
self.options[key] = value
|
||||||
|
|
Loading…
Reference in New Issue