diff options
| author | 2019-02-14 18:40:00 +0100 | |
|---|---|---|
| committer | 2019-02-14 18:40:00 +0100 | |
| commit | 021d36264bce20a1b8c3eb99176dc049483e5b7b (patch) | |
| tree | 5a414fc2ebb338653f578026b234c3d295bbb014 /config.py | |
| parent | Upgrades Pipfile.lock to use requests 2.20.1, fixes CVE-2018-18074 (#2) (diff) | |
flake8 linelength change
Diffstat (limited to 'config.py')
| -rw-r--r-- | config.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| @@ -12,7 +12,8 @@ def autodiscover():          try:              container = client.containers.get(name)              if container.status == "running": -                host = list(container.attrs.get('NetworkSettings').get('Networks').values())[0]['IPAddress'] +                host = list(container.attrs.get('NetworkSettings').get('Networks').values()) +                host = host[0]['IPAddress']                  return host          except NotFound: | 
