mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-03 15:05:11 -04:00
Only show bridge error if connection type is bundled
This commit is contained in:
parent
f784870c76
commit
e6c7cc989f
2 changed files with 10 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue