Skip to content

Commit

Permalink
[fix][xs]: Change current directory output to use os.path.join
Browse files Browse the repository at this point in the history
  • Loading branch information
mpolidori committed Jan 31, 2020
1 parent 766c57b commit 75c5d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/cli/generate.py
Expand Up @@ -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')
Expand Down

0 comments on commit 75c5d3a

Please sign in to comment.