mirror of https://github.com/docker/docker-py.git
Merge pull request #609 from mattmoor/master
Update docker-py to use a more portable sense of HOME.
This commit is contained in:
commit
54e48662a5
|
@ -115,7 +115,7 @@ def load_config(config_path=None):
|
|||
conf = {}
|
||||
data = None
|
||||
|
||||
config_file = config_path or os.path.join(os.environ.get('HOME', '.'),
|
||||
config_file = config_path or os.path.join(os.path.expanduser('~'),
|
||||
DOCKER_CONFIG_FILENAME)
|
||||
|
||||
# if config path doesn't exist return empty config
|
||||
|
|
Loading…
Reference in New Issue