Browse Source

small bugfix

digital 7 years ago
parent
commit
61136f9f91
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lib/beewatch/server/__init__.py

+ 1 - 2
lib/beewatch/server/__init__.py

@@ -69,8 +69,7 @@ class ConnHandlerBeeWatch(digilib.network.ConnHandlerBase):
         }
 
     def handle(self, data):
-        data_decoded=data_decoded.strip()
-        # lchat.info("Client:"+data_decoded)
+        data = data.strip()
         data = data.split(" ")
         cmd,*args = data
         kwargs = {"args":args,"command":cmd,"respond":self.respond}