소스 검색

small bugfix

digital 7 년 전
부모
커밋
61136f9f91
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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}