mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +00:00
try to fix possible network/proxy problem
This commit is contained in:
parent
8d5d30205e
commit
0fb159bd92
1 changed files with 5 additions and 4 deletions
|
@ -950,6 +950,7 @@ class Core(
|
|||
log.debug("Proxy value %s set to %s..", key, value)
|
||||
proxy_settings = lt.proxy_settings()
|
||||
proxy_settings.proxy_type = lt.proxy_type(self.config["proxy_type"])
|
||||
if self.config["proxy_type"] != 0:
|
||||
proxy_settings.username = self.config["proxy_username"]
|
||||
proxy_settings.password = self.config["proxy_password"]
|
||||
proxy_settings.hostname = self.config["proxy_server"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue