Skip to content

Commit 451e701

Browse files
committed
CFY-7568: handle home directory properly
1 parent a9b9440 commit 451e701

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ docs/_build/
5757
*COMMIT_MSG
5858

5959
.qbcache/
60+
61+
.idea/
62+

agent_packager/packager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def _import_config(config_file=DEFAULT_CONFIG_FILE):
5858
5959
:param string config_file: path to config file
6060
"""
61+
config_file = os.path.expanduser(config_file)
6162
lgr.debug('Importing config: {0}...'.format(config_file))
6263
try:
6364
with open(config_file, 'r') as c:

0 commit comments

Comments
 (0)