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()