removed hack

This commit is contained in:
Matthew Williams 2012-03-27 11:12:33 -07:00
parent bf0f3eac1f
commit 3046f743d9

View file

@ -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({