mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-11 15:50:40 -04:00
Fix meek-client in Windows
This commit is contained in:
parent
1eb2476d3c
commit
08ae2e616b
4 changed files with 31 additions and 9 deletions
|
@ -26,7 +26,7 @@ import json
|
|||
|
||||
from . import strings
|
||||
from .gui_common import GuiCommon
|
||||
from onionshare_cli.meek import MeekNotFound
|
||||
from onionshare_cli.meek import MeekNotFound, MeekNotRunning
|
||||
|
||||
|
||||
class MoatDialog(QtWidgets.QDialog):
|
||||
|
@ -237,7 +237,13 @@ class MoatThread(QtCore.QThread):
|
|||
try:
|
||||
self.meek.start()
|
||||
except MeekNotFound:
|
||||
self.common.log("MoatThread", "run", f"Could not find the Meek Client")
|
||||
self.common.log("MoatThread", "run", f"Could not find meek-client")
|
||||
self.bridgedb_error.emit()
|
||||
return
|
||||
except MeekNotRunning:
|
||||
self.common.log(
|
||||
"MoatThread", "run", f"Ran meek-client, but there was an error"
|
||||
)
|
||||
self.bridgedb_error.emit()
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue