summaryrefslogtreecommitdiff
path: root/examples/rpc_client_side.py
diff options
context:
space:
mode:
authorThomas Hansen <thomas.hansen@gmail.com>2012-01-31 12:38:41 -0600
committerThomas Hansen <thomas.hansen@gmail.com>2012-01-31 12:38:41 -0600
commit5a4df56836e0b974564e321c76f72d0a59cae6b0 (patch)
tree9ca3020256e65c9f45c560821450e83ae6075d40 /examples/rpc_client_side.py
parent79f1aa0e1ba7dd29bf597beeae924b96950f9416 (diff)
downloadslixmpp-5a4df56836e0b974564e321c76f72d0a59cae6b0.tar.gz
slixmpp-5a4df56836e0b974564e321c76f72d0a59cae6b0.tar.bz2
slixmpp-5a4df56836e0b974564e321c76f72d0a59cae6b0.tar.xz
slixmpp-5a4df56836e0b974564e321c76f72d0a59cae6b0.zip
examples: fix rpc examples. __init__ method was wrongly named "__init" causing proxy and handler class to not be initialized.
Diffstat (limited to 'examples/rpc_client_side.py')
-rw-r--r--examples/rpc_client_side.py4
1 files changed, 2 insertions, 2 deletions
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
+