bug fix
This commit is contained in:
parent
b339453d90
commit
cbf13ee43c
2
test.py
2
test.py
@ -128,7 +128,7 @@ class ClearCacheInstatnceHandler(tornado.web.RequestHandler):
|
|||||||
class SaveInstanceHandler(tornado.web.RequestHandler):
|
class SaveInstanceHandler(tornado.web.RequestHandler):
|
||||||
def get(self):
|
def get(self):
|
||||||
instances = om.serialize_instance_config()
|
instances = om.serialize_instance_config()
|
||||||
with open(os.path.join(root), instance_config_fp, "w") as f:
|
with open(os.path.join(root, instance_config_fp), "w") as f:
|
||||||
f.write(json.dumps(instances))
|
f.write(json.dumps(instances))
|
||||||
self.write("OK")
|
self.write("OK")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user