Skip to content

Commit

Permalink
plotjuggler: fix layout param (commaai#23348)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjhogan authored Jan 2, 2022
1 parent fed7cfe commit 92b553b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/plotjuggler/juggle.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ def start_juggler(fn=None, dbc=None, layout=None):

extra_args = ""
if fn is not None:
extra_args += f"-d {fn}"
extra_args += f" -d {fn}"
if layout is not None:
extra_args += f"-l {layout}"
extra_args += f" -l {layout}"

subprocess.call(f'plotjuggler --plugin_folders {INSTALL_DIR} {extra_args}',
shell=True, env=env, cwd=juggle_dir)
cmd = f'plotjuggler --plugin_folders {INSTALL_DIR}{extra_args}'
subprocess.call(cmd, shell=True, env=env, cwd=juggle_dir)


def juggle_route(route_name, segment_number, segment_count, qlog, can, layout):
Expand Down

0 comments on commit 92b553b

Please sign in to comment.