morss: Options return None instead of False if no match

Better for default fn values
master
pictuga 2021-08-29 00:19:09 +02:00
parent 5582fbef31
commit 6f50443995
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class Options:
return self.options[key]
else:
return False
return None
def __setitem__(self, key, value):
self.options[key] = value