Example #1
0
 def connect(self):
     self.client = DelugeClient()
     self.client.connect(self.host, int(self.port), self.username,
                         self.password)
Example #2
0
 def connect(self):
     """Connect to the host using synchronousdeluge API."""
     self.client = DelugeClient()
     self.client.connect(self.host, int(self.port), self.username,
                         self.password)