Skip to content

Commit 68b2f8c

Browse files
committed
This wasn't checking for a key called "Success" instead of "ReturnValue" in the response. Probably just a leftover from early days.
1 parent 1af5afd commit 68b2f8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

skyhook/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def is_host_online(self):
9191
:return: *bool*
9292
"""
9393
response = self.execute("is_online", {})
94-
return response.get("Success")
94+
return response.get(Results.return_value)
9595

9696

9797
def execute(self, command, parameters={}, timeout=0):

0 commit comments

Comments
 (0)