Commit 6aa7c189 authored by Kento HASEGAWA's avatar Kento HASEGAWA

Use a solver address instead of a client address for a json-log filename

parent e2397ae4
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment