aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-03-06 11:52:05 -0800
committerMicah Lee <micah@micahflee.com>2022-03-06 11:52:05 -0800
commitbf0b962634fcf92676dd94b76a876de1f4da44a4 (patch)
treea71380d2a2f0339df7eaef646d6e880e0ecdac87
parent314356b62445bc8fca7bbafe27aea48293a9c7a4 (diff)
downloadonionshare-bf0b962634fcf92676dd94b76a876de1f4da44a4.tar.gz
onionshare-bf0b962634fcf92676dd94b76a876de1f4da44a4.zip
Fix bug getting country code
-rw-r--r--desktop/onionshare/connection_tab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/onionshare/connection_tab.py b/desktop/onionshare/connection_tab.py
index c1398cbd..2eb177ee 100644
--- a/desktop/onionshare/connection_tab.py
+++ b/desktop/onionshare/connection_tab.py
@@ -225,7 +225,7 @@ class AutoConnectTab(QtWidgets.QWidget):
if self.use_bridge_widget.detect_automatic_radio.isChecked():
country = False
else:
- country = self.use_bridge_widget.country_code
+ country = self.use_bridge_widget.country_combobox.currentData().lower()
self._censorship_progress_update(
50, strings._("gui_autoconnect_circumventing_censorship_starting_meek")