tfix: 'oneserver' could only be set in the CLI - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1f937aa6cd85bb9297df90306afd29827c6b8109 DIR parent 55189c862384718542f1a54a789f4c4c3e9316af HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 11 Apr 2018 11:16:29 +0200 fix: 'oneserver' could only be set in the CLI Diffstat: M lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/commands.py b/lib/commands.py t@@ -806,7 +806,7 @@ argparse._SubParsersAction.__call__ = subparser_call def add_network_options(parser): - parser.add_argument("-1", "--oneserver", action="store_true", dest="oneserver", default=False, help="connect to one server only") + parser.add_argument("-1", "--oneserver", action="store_true", dest="oneserver", default=None, help="connect to one server only") parser.add_argument("-s", "--server", dest="server", default=None, help="set server host:port:protocol, where protocol is either t (tcp) or s (ssl)") parser.add_argument("-p", "--proxy", dest="proxy", default=None, help="set proxy [type:]host[:port], where type is socks4,socks5 or http")