Merge remote-tracking branch 'origin/pr/264'

* origin/pr/264:
  Fixed missing verbose error logging in Restore Backup
This commit is contained in:
Marek Marczykowski-Górecki 2020-09-13 20:03:10 +02:00
commit 13e682fc98
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -60,9 +60,9 @@ class RestoreThread(QtCore.QThread):
self.tr("Partially restored files left in /var/tmp/restore_*, "
"investigate them and/or clean them up"))
if err_msg:
self.msg = '\n'.join(err_msg)
self.msg = '<b><font color="red">{0}</font></b>'.format(
self.tr("Finished with errors!"))
self.msg = '<br />'.join(err_msg)
self.msg = '<b><font color="red">{0}</font></b><br />'.format(
self.tr("Finished with errors!")) + self.msg
else:
self.msg = '<font color="green">{0}</font>'.format(
self.tr("Finished successfully!"))