From 9fcf1d188c315ca89ead6a6236d60d1ca6498c91 Mon Sep 17 00:00:00 2001 From: wallarelvo Date: Mon, 1 Feb 2016 01:42:08 +0800 Subject: [PATCH] Stupid double space --- src/client/node.py | 1 - src/server/ws.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/client/node.py b/src/client/node.py index 6b8b884..e07407d 100644 --- a/src/client/node.py +++ b/src/client/node.py @@ -34,7 +34,6 @@ def run(self): self.pub_man.publish(v) r.sleep() - def create_subscriber(self, topic, msg_type): namespace, msg_name = msg_type.split("/") mod = __import__(namespace + ".msg") diff --git a/src/server/ws.py b/src/server/ws.py index f24a291..34a6296 100644 --- a/src/server/ws.py +++ b/src/server/ws.py @@ -11,9 +11,6 @@ def onConnect(self, request): common.add_client(name, self) self.name_of_client = name - def onOpen(self): - pass - def onMessage(self, payload, is_binary): if not is_binary: try: