build_case: fix

This commit is contained in:
0xFugue 2023-09-01 17:43:15 +05:30
parent 2a9236fb81
commit 8eb8eb30d1

View File

@ -18,7 +18,7 @@ def build_case(overlay, committees, nodes, config_name, max_view=1, network='def
f.seek(0)
json.dump(data, f)
f.truncate()
print((config_name, modified_name))
print(f"config clash: renaming {config_name} to {modified_name}")
config_name = modified_name
shutil.move(f"{config_name}.json", "../configs/")