Browse Source

adopted keyword names for Server, handler changed to handler_class

digital 8 năm trước cách đây
mục cha
commit
7d3ebc3aaf
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/beewatch/server/__init__.py

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

@@ -47,7 +47,7 @@ class BeeWatchServer(digilib.network.Server):
         super(BeeWatchServer, self).__init__(
             *args,
             **kwargs,
-            handler=beewatch.server.ConnHandlerBeeWatch,
+            handler_class=beewatch.server.ConnHandlerBeeWatch,
         )
 
     def make_socket(self):