From 6f504439957460b7cb218fded007562b6292771d Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 29 Aug 2021 00:19:09 +0200 Subject: [PATCH] morss: Options return None instead of False if no match Better for default fn values --- morss/morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/morss.py b/morss/morss.py index 00a6040..6e430ba 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -96,7 +96,7 @@ class Options: return self.options[key] else: - return False + return None def __setitem__(self, key, value): self.options[key] = value