Fix bug with displaying error message

This commit is contained in:
Micah Lee 2017-05-17 11:36:32 -07:00
parent c3cfe68f45
commit 22c13fc7bf
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -137,7 +137,7 @@ class TorConnectionThread(QtCore.QThread):
except Exception as e: except Exception as e:
common.log('TorConnectionThread', 'run', 'caught exception: {}'.format(e.args[0])) common.log('TorConnectionThread', 'run', 'caught exception: {}'.format(e.args[0]))
self.error_connecting_to_tor.emit(e.args[0]) self.error_connecting_to_tor.emit(str(e.args[0]))
def _tor_status_update(self, progress, summary): def _tor_status_update(self, progress, summary):
self.tor_status_update.emit(progress, summary) self.tor_status_update.emit(progress, summary)