Fix wrong argument type in QMessageBox.information
TypeError: information(QWidget, str, str, buttons: Union[QMessageBox.StandardButtons, QMessageBox.StandardButton] = QMessageBox.Ok, defaultButton: QMessageBox.StandardButton = QMessageBox.NoButton): argument 4 has unexpected type 'str'
This commit is contained in:
@@ -230,11 +230,11 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
||||
self.storage.decrypt(password)
|
||||
break
|
||||
except InvalidPassword as e:
|
||||
QMessageBox.information(None, _('Error'), str(e), _('OK'))
|
||||
QMessageBox.information(None, _('Error'), str(e))
|
||||
continue
|
||||
except BaseException as e:
|
||||
traceback.print_exc(file=sys.stdout)
|
||||
QMessageBox.information(None, _('Error'), str(e), _('OK'))
|
||||
QMessageBox.information(None, _('Error'), str(e))
|
||||
return
|
||||
|
||||
path = self.storage.path
|
||||
|
||||
Reference in New Issue
Block a user