removed hack
This commit is contained in:
parent
bf0f3eac1f
commit
3046f743d9
1 changed files with 0 additions and 7 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue