Skip to content

Commit

Permalink
fix: avoid rewriting the config file
Browse files Browse the repository at this point in the history
  • Loading branch information
xhdix committed Jun 14, 2022
1 parent 3b0f6d6 commit 6410583
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tracevis.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,9 @@ def main(args):
else:
was_successful = True
if was_successful:
config_dump_file_name = f"{os.path.splitext(measurement_path)[0]}.conf"
dump_args_to_file(config_dump_file_name, args, input_packet)
if not args.get("file"):
config_dump_file_name = f"{os.path.splitext(measurement_path)[0]}.conf"
dump_args_to_file(config_dump_file_name, args, input_packet)
if utils.vis.vis(
measurement_path=measurement_path, attach_jscss=attach_jscss,
edge_lable=edge_lable):
Expand Down

0 comments on commit 6410583

Please # to comment.