diff --git a/utils/apparmor/ui.py b/utils/apparmor/ui.py index 844e7170a..a1445915d 100644 --- a/utils/apparmor/ui.py +++ b/utils/apparmor/ui.py @@ -303,8 +303,8 @@ class PromptQuestion(object): if UI_mode == 'text': cmd, arg = self.Text_PromptUser() else: - q.type = 'wizard' - SendDataToYast(q) + self.type = 'wizard' + SendDataToYast(self) ypath, yarg = GetDataFromYast() if not cmd: cmd = 'CMD_ABORT'