Skip to content

Commit

Permalink
CFY-7568: handle home directory properly
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-s committed Nov 16, 2017
1 parent a9b9440 commit 451e701
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ docs/_build/
*COMMIT_MSG

.qbcache/

.idea/

1 change: 1 addition & 0 deletions agent_packager/packager.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def _import_config(config_file=DEFAULT_CONFIG_FILE):
:param string config_file: path to config file
"""
config_file = os.path.expanduser(config_file)
lgr.debug('Importing config: {0}...'.format(config_file))
try:
with open(config_file, 'r') as c:
Expand Down

0 comments on commit 451e701

Please sign in to comment.