Skip to content
Snippets Groups Projects
Commit 09ad0d70 authored by mads's avatar mads
Browse files

changed __getattribute__ to __getattr__

parent 493f4bd0
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ def fmt_value(v):
return float(v)
except ValueError:
return v
c = 0
class HTCContents(object):
lines = []
contents = None
......@@ -63,7 +63,7 @@ class HTCContents(object):
else:
return self.values[key]
def __getattribute__(self, *args, **kwargs):
def __getattr__(self, *args, **kwargs):
try:
return object.__getattribute__(self, *args, **kwargs)
except:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment