From b48998bb867f14a79d8f361721c17bf81789a2e2 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 2 Jul 2020 23:29:53 -0300 Subject: [PATCH] Applied abspath to the output path to make is cleaner. --- kiplot/kiplot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiplot/kiplot.py b/kiplot/kiplot.py index 191d8f84..6d1ec8fe 100644 --- a/kiplot/kiplot.py +++ b/kiplot/kiplot.py @@ -270,7 +270,7 @@ def preflight_checks(skip_pre): def get_output_dir(o_dir): # outdir is a combination of the config and output - outdir = os.path.join(GS.out_dir, o_dir) + outdir = os.path.abspath(os.path.join(GS.out_dir, o_dir)) # Create directory if needed logger.debug("Output destination: {}".format(outdir)) if not os.path.exists(outdir):