1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 15:57:34 +00:00

Pass on error message for repo adding. Fixes #12

This commit is contained in:
Manu 2018-11-13 09:08:24 +08:00
parent 617c8d1c37
commit 3ec781081d

View file

@ -41,6 +41,8 @@ def run(self):
thread.result.connect(self.run_result)
self.thread = thread # Needs to be connected to self for tests to work.
self.thread.start()
else:
self._set_status(params['message'])
def _set_status(self, text):
self.errorText.setText(text)
@ -97,3 +99,5 @@ def run(self):
thread.result.connect(self.run_result)
self.thread = thread # Needs to be connected to self for tests to work.
self.thread.start()
else:
self._set_status(params['message'])