fix #1136
This commit is contained in:
@@ -93,7 +93,7 @@ def serialize_proxy(p):
|
||||
return ':'.join([p.get('mode'),p.get('host'), p.get('port')])
|
||||
|
||||
def deserialize_proxy(s):
|
||||
if type(s) != str:
|
||||
if s is None:
|
||||
return None
|
||||
if s.lower() == 'none':
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user