From ea75cfb6d738552b95ea1fd327b37452609e1c3a Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sat, 24 Nov 2012 15:49:57 +0000 Subject: [PATCH] Fix config not defined in ipcinterface --- 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 4a8915047..c2269ef8b 100644 --- a/deluge/ui/gtkui/ipcinterface.py +++ b/deluge/ui/gtkui/ipcinterface.py @@ -57,6 +57,7 @@ import twisted.internet.error class IPCProtocolServer(Protocol): def dataReceived(self, data): + config = ConfigManager("gtkui.conf") data = rencode.loads(data) if not data or config["focus_main_window_on_add"]: component.get("MainWindow").present()