Use int function to cast proxy type

This commit is contained in:
Calum Lind 2014-08-20 16:56:59 +01:00
parent 68b893fa02
commit b296803e01
1 changed files with 1 additions and 1 deletions

View File

@ -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,