Typo
This commit is contained in:
parent
a646ec4902
commit
03f08b3cfd
|
@ -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"))
|
||||
|
|
Reference in New Issue
Block a user