def connect(self): self.client = DelugeClient() self.client.connect(self.host, int(self.port), self.username, self.password)