Commit 3046f743 by Matthew Williams

removed hack

parent bf0f3eac
...@@ -63,13 +63,6 @@ if not os.path.exists(metadata): ...@@ -63,13 +63,6 @@ if not os.path.exists(metadata):
try: try:
f = open(metadata) f = open(metadata)
data = json.loads(f.read()) data = json.loads(f.read())
# Hack by mgw to get nested variables -- use at your own risk
# data_in = json.loads(f.read())
# for k, v in data_in.items():
# try:
# data[k] = eval(v)
# except:
# data[k] = v
f.close() f.close()
except: except:
print json.dumps({ print json.dumps({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment