mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 05:47:50 +00:00
Use int function to cast proxy type
This commit is contained in:
parent
68b893fa02
commit
b296803e01
@ -533,7 +533,7 @@ class Core(component.Component):
|
||||
"""Returns the active listen port"""
|
||||
proxy_settings = self.session.proxy()
|
||||
proxy_dict = {
|
||||
"type": proxy_settings.type.real,
|
||||
"type": int(proxy_settings.type),
|
||||
"hostname": proxy_settings.hostname,
|
||||
"username": proxy_settings.username,
|
||||
"password": proxy_settings.password,
|
||||
|
Loading…
x
Reference in New Issue
Block a user