From 03f08b3cfdaafd1ee9eeda286fc7bbe8c828c820 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Sun, 4 Feb 2018 21:16:30 +0100 Subject: [PATCH] Typo --- src/network/connectionpool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/connectionpool.py b/src/network/connectionpool.py index 9b91386e..408d56e0 100644 --- a/src/network/connectionpool.py +++ b/src/network/connectionpool.py @@ -145,7 +145,7 @@ class BMConnectionPool(object): # TODO AUTH # TODO reset based on GUI settings changes try: - if not BMConfigParser().get("network", "onionsocksproxytype").beginswith("SOCKS"): + if not BMConfigParser().get("network", "onionsocksproxytype").startswith("SOCKS"): raise NoOptionError Proxy.onionproxy = (BMConfigParser().get("network", "onionsockshostname"), BMConfigParser().getint("network", "onionsocksport"))