Remove all references to old settings

This commit is contained in:
Micah Lee 2021-10-26 21:07:38 -07:00
parent 2b3b6d7635
commit 9515fe6aaf
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 3 additions and 7 deletions

View file

@ -424,11 +424,7 @@ class Onion(object):
time.sleep(0.2)
# If using bridges, it might take a bit longer to connect to Tor
if (
self.settings.get("tor_bridges_use_custom_bridges")
or self.settings.get("tor_bridges_use_obfs4")
or self.settings.get("tor_bridges_use_meek_lite_azure")
):
if self.settings.get("bridges_enabled"):
# Only override timeout if a custom timeout has not been passed in
if connect_timeout == 120:
connect_timeout = 150