def __init__(self, router, *args, **kwargs):
    self.router = router
    self.router.telnet_factory = self
    super(ServerFactory, self).__init__(*args)
    self.clients = []
def __init__(self, router, *args, **kwargs):
    self.router = router
    self.router.telnet_factory = self
    super(ServerFactory, self).__init__(*args)
    self.clients = []