mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-11 10:59:00 +00:00
Fix config not defined in ipcinterface
This commit is contained in:
parent
9155191b0a
commit
ea75cfb6d7
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ import twisted.internet.error
|
||||||
|
|
||||||
class IPCProtocolServer(Protocol):
|
class IPCProtocolServer(Protocol):
|
||||||
def dataReceived(self, data):
|
def dataReceived(self, data):
|
||||||
|
config = ConfigManager("gtkui.conf")
|
||||||
data = rencode.loads(data)
|
data = rencode.loads(data)
|
||||||
if not data or config["focus_main_window_on_add"]:
|
if not data or config["focus_main_window_on_add"]:
|
||||||
component.get("MainWindow").present()
|
component.get("MainWindow").present()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue