diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-02-08 18:33:39 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-02-08 18:33:39 +0200 |
commit | 81e1414f80bb95dff081a226986762e295bf1a06 (patch) | |
tree | 520fef59c8301cdc28d715e23559dc8a43fc2fbd | |
parent | 5fe4d82a05d88b5136ffa053fb7d40f01b701fca (diff) | |
download | ick2-81e1414f80bb95dff081a226986762e295bf1a06.tar.gz |
Fix: handle missing version result
-rwxr-xr-x | worker_manager | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worker_manager b/worker_manager index 5e0b0f3..7fc3aec 100755 --- a/worker_manager +++ b/worker_manager @@ -185,7 +185,7 @@ class ControllerAPI: version = self._httpapi.get(url, headers) if version: logging.info('Version: %r', version) - return version['blob_service'] + return version.get('blob_service') class HttpApi: |