Only show bridge error if connection type is bundled

This commit is contained in:
Micah Lee 2021-10-24 20:03:19 -07:00
parent f784870c76
commit e6c7cc989f
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 10 additions and 3 deletions

View file

@ -199,8 +199,6 @@ class Onion(object):
)
return
self.common.log("Onion", "connect")
# Either use settings that are passed in, or use them from common
if custom_settings:
self.settings = custom_settings
@ -211,6 +209,12 @@ class Onion(object):
self.common.load_settings()
self.settings = self.common.settings
self.common.log(
"Onion",
"connect",
f"connection_type={self.settings.get('connection_type')}",
)
# The Tor controller
self.c = None