Skip to content

Commit 6612a1f

Browse files
committed
ok ?
1 parent 161fee5 commit 6612a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reflex/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1866,7 +1866,7 @@ def fix_events(
18661866
# Fix the events created by the handler.
18671867
out = []
18681868
for e in events:
1869-
if callable(e) and e.__qualname__ == "<lambda>":
1869+
if callable(e) and getattr(e, "__name__", "") == "<lambda>":
18701870
# A lambda was returned, assume the user wants to call it with no args.
18711871
e = e()
18721872
if isinstance(e, Event):

0 commit comments

Comments
 (0)