commit
079a1c843d
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class Base:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _generic_g(prop_name, self):
|
def _generic_g(prop_name, self):
|
||||||
method = "_get_attr_%s" % prop_name
|
method = "_get_attr_%s" % prop_name
|
||||||
if method in dir(self):
|
if hasattr(self, method):
|
||||||
return getattr(self, method)()
|
return getattr(self, method)()
|
||||||
|
|
||||||
return self._attributes[prop_name]
|
return self._attributes[prop_name]
|
||||||
|
|
Loading…
Reference in a new issue