diff options
author | Serge Bazanski <q3k@q3k.org> | 2020-12-12 17:57:16 +0100 |
---|---|---|
committer | Serge Bazanski <q3k@q3k.org> | 2020-12-12 17:57:16 +0100 |
commit | 5b11cb4e699a79be463cd7f93e612801edcf875c (patch) | |
tree | a4dca32d1ea8d81b26d8f821515fa4108ecb1a84 | |
parent | b4681aff8bf33aeaf4f8288d41d2d7b686fbfd4c (diff) | |
download | checkinator-5b11cb4e699a79be463cd7f93e612801edcf875c.tar.gz checkinator-5b11cb4e699a79be463cd7f93e612801edcf875c.tar.bz2 checkinator-5b11cb4e699a79be463cd7f93e612801edcf875c.zip |
blindly attempt to fix prod issue
-rw-r--r-- | at/webapp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/at/webapp.py b/at/webapp.py index 520e563..c809202 100644 --- a/at/webapp.py +++ b/at/webapp.py @@ -33,8 +33,8 @@ class DevicesApi: } def get_device(self, ip: str) -> Tuple[str, str]: - devices = self._api.GetClients(ClientsRequest) - for device in devices: + devices = self._api.GetClients(ClientsRequest()) + for device in devices.clients: if device.ip_address == ip: return ( format_mac(device.hw_address), device.client_hostname |