Skip to content

Commit 54e4866

Browse files
committed
Merge pull request #609 from mattmoor/master
Update docker-py to use a more portable sense of HOME.
2 parents 414d901 + 9881628 commit 54e4866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/auth/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def load_config(config_path=None):
115115
conf = {}
116116
data = None
117117

118-
config_file = config_path or os.path.join(os.environ.get('HOME', '.'),
118+
config_file = config_path or os.path.join(os.path.expanduser('~'),
119119
DOCKER_CONFIG_FILENAME)
120120

121121
# if config path doesn't exist return empty config

0 commit comments

Comments
 (0)