mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 20:44:50 +00:00
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:
|
except twisted.internet.error.CannotListenError, e:
|
||||||
log.info("Deluge is already running! Sending arguments to running instance...")
|
log.info("Deluge is already running! Sending arguments to running instance...")
|
||||||
self.factory = IPCClientFactory()
|
self.factory = IPCClientFactory()
|
||||||
|
self.factory.args = args
|
||||||
reactor.connectUNIX(socket, self.factory, checkPID=True)
|
reactor.connectUNIX(socket, self.factory, checkPID=True)
|
||||||
reactor.run()
|
reactor.run()
|
||||||
if self.factory.stop:
|
if self.factory.stop:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user