mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
Fix windows ipc adding torrent to existing session
This commit is contained in:
parent
daecb4b984
commit
065e27b5f5
@ -55,7 +55,7 @@ class IPCInterface(component.Component):
|
|||||||
# We already have a running session, send a XMLRPC to the existing session
|
# We already have a running session, send a XMLRPC to the existing session
|
||||||
uri = "http://localhost:" + str(self.config["signal_port"])
|
uri = "http://localhost:" + str(self.config["signal_port"])
|
||||||
rpc = xmlrpclib.ServerProxy(uri, allow_none=True)
|
rpc = xmlrpclib.ServerProxy(uri, allow_none=True)
|
||||||
rpc.args_from_external(args)
|
rpc.emit_signal("args_from_external", args)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user