瀏覽代碼

bugfix: ConnHandlerBeeWatch was inheriting form the wrong class

digital 8 年之前
父節點
當前提交
1acb66e8b8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/beewatch/server/__init__.py

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

@@ -62,7 +62,7 @@ class BeeWatchServer(digilib.network.Server):
         s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
         s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
         return s
         return s
 
 
-class ConnHandlerBeeWatch(digilib.network.ConnHandlerBase):
+class ConnHandlerBeeWatch(digilib.network.ConnHandler):
     """
     """
     Connection handler for the beewatch server. Applies permission system,
     Connection handler for the beewatch server. Applies permission system,
     parses commands and tells apis what to do.
     parses commands and tells apis what to do.
@@ -74,7 +74,7 @@ class ConnHandlerBeeWatch(digilib.network.ConnHandlerBase):
         """
         """
         The handle method parses commands and responds if a command was not
         The handle method parses commands and responds if a command was not
         found. It executes synchronous and asynchronous methods correctly and
         found. It executes synchronous and asynchronous methods correctly and
-        logs the traceback if an exception occured. 
+        logs the traceback if an exception occured.
         """
         """
         data = data.strip()
         data = data.strip()
         data = data.split(" ")
         data = data.split(" ")