diff --git a/config/__init__.py b/config/__init__.py index dc1cd9b..1c0f0bc 100644 --- a/config/__init__.py +++ b/config/__init__.py @@ -19,7 +19,7 @@ class WrappedSettings: self.settings = yaml.load(settings) def __getattr__(self, name): - value = getattr(self.settings, name) + value = self.settings[name] if type(value) == dict: value = DotDictionary(value) return value