Browse Source

proxy: allow '-p none'

283
thomasv 13 years ago
parent
commit
cfce1420c5
  1. 1
      lib/interface.py

1
lib/interface.py

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

Loading…
Cancel
Save