From cfce1420c5dbf62a40977f6db841398e13b52e68 Mon Sep 17 00:00:00 2001 From: thomasv Date: Tue, 9 Oct 2012 16:16:00 +0200 Subject: [PATCH] proxy: allow '-p none' --- lib/interface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/interface.py b/lib/interface.py index 0e940ee0..d5aea4dc 100644 --- a/lib/interface.py +++ b/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