diff --git a/core/config.py b/core/config.py index e18890812..a5f6162d3 100644 --- a/core/config.py +++ b/core/config.py @@ -44,7 +44,7 @@ class Value: try: ret = await driver.get(self.identifiers) except KeyError: - return default or self.default + return default if default is not None else self.default return ret def __call__(self, default=None):