Skip to content

Commit 23128be

Browse files
committed
Use absolut paths
1 parent ee34d7e commit 23128be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/logplot/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def log_plot(log_path, config_path):
2525
Plot(
2626
entries=entries,
2727
special_entries=special_entries,
28-
log_path=log_path,
28+
log_path=os.path.abspath(log_path),
2929
log_open_cmd=config.general.log_open_cmd,
3030
)
3131

@@ -39,4 +39,4 @@ def _select_user_config(conf_path):
3939
"as command line argument or define the path as "
4040
"LOGPLOT_CONFIG environment variable."
4141
)
42-
return conf_path
42+
return os.path.abspath(conf_path)

0 commit comments

Comments
 (0)