bug fix
This commit is contained in:
@@ -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")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user