mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Use 127.0.0.1 instead of localhost
This commit is contained in:
parent
0d633b388e
commit
9da61bd1c7
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class IPCInterface(component.Component):
|
|||
if win32api.GetLastError() == winerror.ERROR_ALREADY_EXISTS:
|
||||
# We already have a running session, send a XMLRPC to the existing session
|
||||
config = ConfigManager("gtkui.conf")
|
||||
uri = "http://localhost:" + str(config["signal_port"])
|
||||
uri = "http://127.0.0.1:" + str(config["signal_port"])
|
||||
import deluge.xmlrpclib as xmlrpclib
|
||||
rpc = xmlrpclib.ServerProxy(uri, allow_none=True)
|
||||
rpc.emit_signal("args_from_external", args)
|
||||
|
|
Loading…
Add table
Reference in a new issue