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
2fde78f236
commit
3d1b47bca6
|
@ -143,6 +143,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