We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f4533e commit 8fc1373Copy full SHA for 8fc1373
1 file changed
internal_filesystem/lib/mpos/config.py
@@ -36,7 +36,7 @@ def load(self):
36
def get_string(self, key, default=None):
37
"""Retrieve a string value for the given key, with a default if not found."""
38
to_return = self.data.get(key)
39
- if not to_return and default:
+ if to_return is None and default is not None:
40
to_return = default
41
return to_return
42
0 commit comments