Merge pull request #609 from mattmoor/master

Update docker-py to use a more portable sense of HOME.
This commit is contained in:
Joffrey F 2015-06-18 12:29:08 -07:00
commit 54e48662a5
1 changed files with 1 additions and 1 deletions

View File

@ -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