From 5a4df56836e0b974564e321c76f72d0a59cae6b0 Mon Sep 17 00:00:00 2001 From: Thomas Hansen Date: Tue, 31 Jan 2012 12:38:41 -0600 Subject: examples: fix rpc examples. __init__ method was wrongly named "__init" causing proxy and handler class to not be initialized. --- examples/rpc_client_side.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/rpc_client_side.py') diff --git a/examples/rpc_client_side.py b/examples/rpc_client_side.py index ca1084f0..135d6237 100644 --- a/examples/rpc_client_side.py +++ b/examples/rpc_client_side.py @@ -16,7 +16,7 @@ class Thermostat(Endpoint): def FQN(self): return 'thermostat' - def __init(self, initial_temperature): + def __init__(self, initial_temperature): self._temperature = initial_temperature self._event = threading.Event() @@ -50,4 +50,4 @@ def main(): if __name__ == '__main__': main() - \ No newline at end of file + -- cgit v1.2.3