diff --git a/comm/server/main.py b/comm/server/main.py index 7e3e40456701f934ae0ff12445e38cfaa55c7f7d..5cd6189f9fc8ebdd6e183ed7e574c8b7221fe1b8 100644 --- a/comm/server/main.py +++ b/comm/server/main.py @@ -162,7 +162,7 @@ def post(): if not os.path.isdir(save_path): os.makedirs(save_path) - file_name = "{}-{}.json".format(receive_time_str, _client.replace(":", ".")) + file_name = "{}-{}.json".format(receive_time_str, _solver.replace(":", ".")) save_file_path = "{}/{}".format(save_path, file_name) with open(save_file_path, "w") as fp: json.dump(dat, fp, indent=4)