Typo
This commit is contained in:
parent
a646ec4902
commit
03f08b3cfd
|
@ -145,7 +145,7 @@ class BMConnectionPool(object):
|
||||||
# TODO AUTH
|
# TODO AUTH
|
||||||
# TODO reset based on GUI settings changes
|
# TODO reset based on GUI settings changes
|
||||||
try:
|
try:
|
||||||
if not BMConfigParser().get("network", "onionsocksproxytype").beginswith("SOCKS"):
|
if not BMConfigParser().get("network", "onionsocksproxytype").startswith("SOCKS"):
|
||||||
raise NoOptionError
|
raise NoOptionError
|
||||||
Proxy.onionproxy = (BMConfigParser().get("network", "onionsockshostname"),
|
Proxy.onionproxy = (BMConfigParser().get("network", "onionsockshostname"),
|
||||||
BMConfigParser().getint("network", "onionsocksport"))
|
BMConfigParser().getint("network", "onionsocksport"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user