From 75c5d3adef1a0d83ad11cb3db2b7c9fcefebf0cf Mon Sep 17 00:00:00 2001 From: Michael Polidori Date: Fri, 31 Jan 2020 13:16:20 -0500 Subject: [PATCH] [fix][xs]: Change current directory output to use os.path.join --- ckan/cli/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/cli/generate.py b/ckan/cli/generate.py index 30ddc8ad03e..2187dc1507e 100644 --- a/ckan/cli/generate.py +++ b/ckan/cli/generate.py @@ -90,7 +90,7 @@ def make_config(output_path): # Output to current directory if no path is specified if '/' not in output_path: - output_path = os.getcwd() + '/' + output_path + output_path = os.path.join(os.getcwd(), output_path) cur_loc = os.path.dirname(os.path.abspath(__file__)) template_loc = os.path.join(cur_loc, '..', 'config', 'deployment.ini_tmpl')