From 18bcdd09d3176815d0254a4f6d8551688215526f Mon Sep 17 00:00:00 2001 From: bendikro Date: Tue, 1 Jan 2013 17:37:39 +0000 Subject: [PATCH] Fix error when loading torrent through IPC Fix bug from commit 0045ec0cf1e48: missing args attribute error when loading torrent through IPC on non-windows. --- 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 91d184f14..f8eab61da 100644 --- a/deluge/ui/gtkui/ipcinterface.py +++ b/deluge/ui/gtkui/ipcinterface.py @@ -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: