mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 00:45:11 -04:00
Fix linux tor paths, make event handler properly quit thread
This commit is contained in:
parent
dea6de67d0
commit
c07eda330d
5 changed files with 31 additions and 19 deletions
|
@ -157,10 +157,8 @@ class TorConnectionThread(QtCore.QThread):
|
|||
self.canceled_connecting_to_tor.emit()
|
||||
|
||||
except Exception as e:
|
||||
self.common.log(
|
||||
"TorConnectionThread", "run", f"caught exception: {e.args[0]}"
|
||||
)
|
||||
self.error_connecting_to_tor.emit(str(e.args[0]))
|
||||
self.common.log("TorConnectionThread", "run", f"caught exception: {e}")
|
||||
self.error_connecting_to_tor.emit(str(e))
|
||||
|
||||
def _tor_status_update(self, progress, summary):
|
||||
self.tor_status_update.emit(progress, summary)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue