Fix error when loading torrent through IPC
Fix bug from commit 0045ec0cf1e48: missing args attribute error when loading torrent through IPC on non-windows.
This commit is contained in:
parent
cc5ef89139
commit
18bcdd09d3
|
@ -145,6 +145,7 @@ class IPCInterface(component.Component):
|
|||
except twisted.internet.error.CannotListenError, e:
|
||||
log.info("Deluge is already running! Sending arguments to running instance...")
|
||||
self.factory = IPCClientFactory()
|
||||
self.factory.args = args
|
||||
reactor.connectUNIX(socket, self.factory, checkPID=True)
|
||||
reactor.run()
|
||||
if self.factory.stop:
|
||||
|
|
Loading…
Reference in New Issue