From cd44ae02a304b382b91e2d97a39f26d50c89f242 Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Mon, 5 Dec 2016 17:06:45 -0500 Subject: [PATCH] __getattr__ should call __getattribute__ --- lbrynet/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lbrynet/conf.py b/lbrynet/conf.py index 733345dfb..e05fb5ddd 100644 --- a/lbrynet/conf.py +++ b/lbrynet/conf.py @@ -194,7 +194,8 @@ class AdjustableSettings(Settings): def __getattr__(self, attr): if attr in self.environ.original_schema: return self.environ(attr) - raise AttributeError + return self.__getattribute__(attr) + class ApplicationSettings(Settings): """Settings that are constants and shouldn't be overriden"""