From ed9b4726152083214b0ed8bb807235fd96703b2c Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 17 Jul 2008 23:40:51 +0000 Subject: [PATCH] Another windows ipc fix --- deluge/ui/gtkui/ipcinterface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/gtkui/ipcinterface.py b/deluge/ui/gtkui/ipcinterface.py index cdf47aafd..efe0b4a9e 100644 --- a/deluge/ui/gtkui/ipcinterface.py +++ b/deluge/ui/gtkui/ipcinterface.py @@ -55,6 +55,7 @@ class IPCInterface(component.Component): # We already have a running session, send a XMLRPC to the existing session config = ConfigManager("gtkui.conf") uri = "http://localhost:" + str(config["signal_port"]) + import deluge.xmlrpclib as xmlrpclib rpc = xmlrpclib.ServerProxy(uri, allow_none=True) rpc.emit_signal("args_from_external", args) sys.exit(0)