From 3d1b47bca6949b2bd6d3ab5c546e1d37ca9c83ac 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 6bff705aa..7ab2db059 100644 --- a/deluge/ui/gtkui/ipcinterface.py +++ b/deluge/ui/gtkui/ipcinterface.py @@ -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: