mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 13:05:37 +00:00
Fix config not defined in ipcinterface
This commit is contained in:
parent
9155191b0a
commit
ea75cfb6d7
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user