Fix applying proxy settings

This commit is contained in:
Andrew Resch 2009-01-02 21:25:26 +00:00
parent 76a17a4028
commit dc17647590
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ class PreferencesManager(component.Component):
for k, v in value.items():
if v["type"]:
proxy_settings = lt.proxy_settings()
proxy_settings.proxy_type = lt.proxy_type(v["type"])
proxy_settings.type = lt.proxy_type(v["type"])
proxy_settings.username = v["username"]
proxy_settings.password = v["password"]
proxy_settings.hostname = v["hostname"]