Browse Source

bugfix: ConnHandlerBeeWatch was inheriting form the wrong class

digital 7 years ago
parent
commit
1acb66e8b8
1 changed files with 2 additions and 2 deletions
  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)
         return s
 
-class ConnHandlerBeeWatch(digilib.network.ConnHandlerBase):
+class ConnHandlerBeeWatch(digilib.network.ConnHandler):
     """
     Connection handler for the beewatch server. Applies permission system,
     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
         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.split(" ")