mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
Fix #2109 : Proxy settings not being cleared by setting None
This commit is contained in:
parent
67450f43b3
commit
e7a2a8dcee
@ -471,7 +471,6 @@ class PreferencesManager(component.Component):
|
||||
|
||||
def _on_set_proxies(self, key, value):
|
||||
for k, v in value.items():
|
||||
if v["type"]:
|
||||
proxy_settings = lt.proxy_settings()
|
||||
proxy_settings.type = lt.proxy_type(v["type"])
|
||||
proxy_settings.username = str(v["username"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user