proxy: allow '-p none'

This commit is contained in:
thomasv 2012-10-09 16:16:00 +02:00
parent fd13d19cb8
commit cfce1420c5
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ def old_to_new(d):
replace_keys(d, 'raw_scriptPubKey', 'raw_output_script')
def parse_proxy_options(s):
if s.lower() == 'none': return None
proxy = { "mode":"socks5", "host":"localhost" }
args = s.split(':')
n = 0