Fix linux tor paths, make event handler properly quit thread

This commit is contained in:
Micah Lee 2020-04-06 19:49:49 -07:00
parent dea6de67d0
commit c07eda330d
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
5 changed files with 31 additions and 19 deletions

View file

@ -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)