diff --git a/deluge/ui/gtkui/ipcinterface.py b/deluge/ui/gtkui/ipcinterface.py index d061a7a8d..242e6b2d7 100644 --- a/deluge/ui/gtkui/ipcinterface.py +++ b/deluge/ui/gtkui/ipcinterface.py @@ -59,6 +59,7 @@ log = logging.getLogger(__name__) 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()