(self)
return True
Retrieve network status.
Retrieve network status.
Retrieve network status .
def get_network_info(self):
        """Retrieve network status."""
        self.network_info = api.request_network_update(self.blink, self.network_id)
        try:
            if self.network_info["network"]["sync_module_error"]:
                raise KeyError
        except (TypeError, KeyError):
            self.available = False
            return False
        return True
def get_network_info ( self ) : self . network_info = api . request_network_update ( self . blink , self . network_id ) try : if self . network_info [ "network" ] [ "sync_module_error" ] : raise KeyError except ( TypeError , KeyError ) : self . available = False return False return True