summaryrefslogtreecommitdiff
path: root/examples/rpc_server_side.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rpc_server_side.py')
-rw-r--r--examples/rpc_server_side.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rpc_server_side.py b/examples/rpc_server_side.py
index 0af8af43..d1a11c17 100644
--- a/examples/rpc_server_side.py
+++ b/examples/rpc_server_side.py
@@ -15,7 +15,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()
@@ -49,4 +49,4 @@ def main():
if __name__ == '__main__':
main()
- \ No newline at end of file
+