From a7fa7fae57eb963c6bc8486f4a78dca679f30b9b Mon Sep 17 00:00:00 2001 From: Noel Power Date: Mon, 28 Feb 2022 11:01:15 +0000 Subject: [PATCH] ShortcutConflict5 Opt.get(event) doesn't exist, event is just a map Signed-off-by: Noel Power --- examples/ShortcutConflict5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ShortcutConflict5.py b/examples/ShortcutConflict5.py index 88e2e79..3d0c8a6 100644 --- a/examples/ShortcutConflict5.py +++ b/examples/ShortcutConflict5.py @@ -40,7 +40,7 @@ def main(self): ycpbuiltins.y2milestone("Got event: %1", event) - if Ops.get(event, "ID") == "abort": + if event["ID"] == "abort": break UI.CloseDialog()