def _showError(self, message): """Internal helper function that MUST BE CALLED FROM THE MAIN THREAD.""" if flags.automatedInstall and not flags.ksprompt: log.error(message) # If we're in cmdline mode, just exit. return error_window = ErrorDialog(self._app, message) self._app.switch_screen_modal(error_window)
def _showError(self, message): """Internal helper function that MUST BE CALLED FROM THE MAIN THREAD""" error_window = ErrorDialog(self._app, message) self._app.switch_screen_modal(error_window)