From cbf13ee43c6e7554883d9a3f49b9fc254b2e0243 Mon Sep 17 00:00:00 2001 From: mantaohuang Date: Mon, 3 Aug 2020 12:41:56 -0400 Subject: [PATCH] bug fix --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 6bf22b1..495610b 100644 --- a/test.py +++ b/test.py @@ -128,7 +128,7 @@ class ClearCacheInstatnceHandler(tornado.web.RequestHandler): class SaveInstanceHandler(tornado.web.RequestHandler): def get(self): 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)) self.write("OK")