forked from LBRYCommunity/lbry-sdk
__getattr__ should call __getattribute__
This commit is contained in:
parent
2fb71610a4
commit
cd44ae02a3
1 changed files with 2 additions and 1 deletions
|
@ -194,7 +194,8 @@ class AdjustableSettings(Settings):
|
||||||
def __getattr__(self, attr):
|
def __getattr__(self, attr):
|
||||||
if attr in self.environ.original_schema:
|
if attr in self.environ.original_schema:
|
||||||
return self.environ(attr)
|
return self.environ(attr)
|
||||||
raise AttributeError
|
return self.__getattribute__(attr)
|
||||||
|
|
||||||
|
|
||||||
class ApplicationSettings(Settings):
|
class ApplicationSettings(Settings):
|
||||||
"""Settings that are constants and shouldn't be overriden"""
|
"""Settings that are constants and shouldn't be overriden"""
|
||||||
|
|
Loading…
Reference in a new issue