summary: fix always-use-proxy check

This commit is contained in:
Michael Schmoock
2020-11-16 12:38:43 +01:00
committed by Christian Decker
parent 6cd4726369
commit 5d274f67c4

View File

@@ -234,7 +234,7 @@ def init(options, configuration, plugin):
info = plugin.rpc.getinfo()
config = plugin.rpc.listconfigs()
if 'always-use-proxy' in config:
if 'always-use-proxy' in config and config['always-use-proxy']:
paddr = config['proxy']
# Default port in 9050
if ':' not in paddr: