mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Another windows ipc fix
This commit is contained in:
parent
61358e7e31
commit
40ca2d7229
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@ class IPCInterface(component.Component):
|
|||
self.mutex = win32event.CreateMutex(None, False, "deluge")
|
||||
if win32api.GetLastError() == winerror.ERROR_ALREADY_EXISTS:
|
||||
# We already have a running session, send a XMLRPC to the existing session
|
||||
uri = "http://localhost:" + str(self.config["signal_port"])
|
||||
config = ConfigManager("gtkui.conf")
|
||||
uri = "http://localhost:" + str(config["signal_port"])
|
||||
rpc = xmlrpclib.ServerProxy(uri, allow_none=True)
|
||||
rpc.emit_signal("args_from_external", args)
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Add table
Reference in a new issue