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…
Reference in New Issue