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):