diff --git a/cli/onionshare_cli/censorship.py b/cli/onionshare_cli/censorship.py index 5d3e71e5..e8bcbcc6 100644 --- a/cli/onionshare_cli/censorship.py +++ b/cli/onionshare_cli/censorship.py @@ -47,7 +47,7 @@ class CensorshipCircumvention(object): self.common.log( "CensorshipCircumvention", "__init__", - "Using Meek with CensorShipCircumvention API", + "Using Meek with CensorshipCircumvention API", ) self.api_proxies = self.meek.meek_proxies if onion: @@ -58,7 +58,7 @@ class CensorshipCircumvention(object): self.common.log( "CensorshipCircumvention", "__init__", - "Using Tor with CensorShipCircumvention API", + "Using Tor with CensorshipCircumvention API", ) (socks_address, socks_port) = self.onion.get_tor_socks_port() self.api_proxies = { @@ -256,6 +256,7 @@ class CensorshipCircumvention(object): "save_settings", "Saving settings with automatically-obtained bridges", ) + self.settings.set("bridges_enabled", True) self.settings.save() return True else: diff --git a/desktop/src/onionshare/connection_tab.py b/desktop/src/onionshare/connection_tab.py index 5beb91b3..37f3e7a8 100644 --- a/desktop/src/onionshare/connection_tab.py +++ b/desktop/src/onionshare/connection_tab.py @@ -172,6 +172,7 @@ class AutoConnectTab(QtWidgets.QWidget): self.active = False self.tor_con.fail.emit() self.open_tor_settings() + self.close_this_tab.emit() def _censorship_progress_update(self, progress, summary): self.use_bridge_widget.progress.setValue(int(progress))