digital 8 anni fa
parent
commit
03215263d9
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      network/__init__.py

+ 3 - 3
network/__init__.py

@@ -250,9 +250,9 @@ class Server(object):
                         self.unregister_handler(handler, socket)
                         self.unregister_conn(socket)
                         handler.close()
-                        else:
-                            lschat.info("Client:"+data.strip())
-                            socket_handler.handle(data)
+                    else:
+                        lschat.info("Client:"+data.strip())
+                        socket_handler.handle(data)
                 except Exception as e:
                         lserver.error(e, exc_info=True)