示例#1
0
文件: json_api.py 项目: laanwj/deluge
 def disconnect(self):
     """
     Disconnect the web interface from the connected daemon.
     """
     client.disconnect()
     return True
示例#2
0
 def disable(self):
     if not client.is_classicmode():
         client.disconnect()
示例#3
0
文件: json_api.py 项目: laanwj/deluge
 def disable(self):
     if not client.is_classicmode():
         client.disconnect()
示例#4
0
 def disconnect(self):
     """
     Disconnect the web interface from the connected daemon.
     """
     client.disconnect()
     return True