Skip to content

Commit

Permalink
Update qr-scanner/qr_scanner/component.py
Browse files Browse the repository at this point in the history
Co-authored-by: Masen Furer <[email protected]>
  • Loading branch information
Lendemor and masenf authored Oct 9, 2023
1 parent a949957 commit 401f306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qr-scanner/qr_scanner/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_event_triggers(self) -> Dict[str, Var]:
**super().get_event_triggers(),
"on_result": lambda e0: [e0],
"on_decode": lambda e0: [e0],
"on_error": lambda e0: [BaseVar(name="_e0" + ".message")],
"on_error": lambda e0: [BaseVar(name="_e0?.message")],
}


Expand Down

0 comments on commit 401f306

Please sign in to comment.