Skip to content

Commit

Permalink
ShortcutConflict5 Opt.get(event) doesn't exist, event is just a map
Browse files Browse the repository at this point in the history
Signed-off-by: Noel Power <noel.power@suse.com>
  • Loading branch information
noelpower committed Feb 8, 2023
1 parent ef13af2 commit a7fa7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ShortcutConflict5.py
Expand Up @@ -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()
Expand Down

0 comments on commit a7fa7fa

Please sign in to comment.