1
Fork 0

fix attr get

This commit is contained in:
Jake Howard 2016-09-08 22:14:11 +01:00
parent d668a63d39
commit 7432c37431
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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