Fix-ups for detecting if the meek binary doesn't exist. Pass the GUI's get_tor_paths down to the CLI when instantiating Meek object

This commit is contained in:
Miguel Jacq 2021-10-25 11:45:50 +11:00
parent 93ea5eb068
commit a5ff00c1f5
2 changed files with 12 additions and 6 deletions

View file

@ -49,7 +49,7 @@ class TorSettingsDialog(QtWidgets.QDialog):
self.common.log("TorSettingsDialog", "__init__")
self.meek = Meek(common)
self.meek = Meek(common, get_tor_paths=self.common.gui.get_tor_paths)
self.setModal(True)
self.setWindowTitle(strings._("gui_tor_settings_window_title"))