Skip to content

Commit

Permalink
Strip leading /
Browse files Browse the repository at this point in the history
  • Loading branch information
jerearista committed Sep 9, 2015
1 parent a7922cd commit 6d50a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def ensure_dir(f):
if install():
custom_path = os.environ.get('ZTPS_INSTALL_ROOT')
if custom_path:
version_file = join_url(custom_path, config.VERSION_FILE_PATH)
version_file = join_url(custom_path, config.VERSION_FILE_PATH)[1:]
else:
version_file = config.VERSION_FILE_PATH
ensure_dir(version_file)
Expand Down

0 comments on commit 6d50a20

Please sign in to comment.