added dweet and reboot

This commit is contained in:
Senad Uka
2016-06-08 09:16:44 +02:00
parent f9defb8e2a
commit f8a8284944
4 changed files with 41 additions and 2 deletions

View File

@@ -16,8 +16,6 @@ class Server(object):
result = requests.post(self.full_url('state/%s') % self.controller_id, local_state)
return handle_response(result)
def full_url(self, action):
if self.controller_id is None:
raise ClassNotReadyException("Controller id not set!")