From: Leandro Lucarella Date: Wed, 14 Dec 2005 05:12:53 +0000 (+0000) Subject: Bugfix (set puede no llevar datos). X-Git-Tag: cliente-1.0~4 X-Git-Url: https://git.llucax.com/z.facultad/66.09/etherled.git/commitdiff_plain/4d2df72d45010885c2f778c9f24ea1e2dfef53f2?hp=163891ab133ae8e210f3e4493ebbd6875a4e9327 Bugfix (set puede no llevar datos). --- diff --git a/cliente/etherled/protocol.py b/cliente/etherled/protocol.py index c9873e3..e8a1703 100644 --- a/cliente/etherled/protocol.py +++ b/cliente/etherled/protocol.py @@ -76,7 +76,7 @@ class Client(object): def get(self, var): return self.send(packet.TYPE_GET, var) - def set(self, var, data): + def set(self, var, data=None): self.send(packet.TYPE_SET, var, data) def _getId(self, type, var):