fix typo
This commit is contained in:
parent
76e6aafe70
commit
530c0f9283
@ -1598,7 +1598,7 @@ if sys.version_info >= (3, 10):
|
|||||||
|
|
||||||
def wrapper(func: Callable[Concatenate[Any, P], T]) -> EventCallback[P, T]:
|
def wrapper(func: Callable[Concatenate[Any, P], T]) -> EventCallback[P, T]:
|
||||||
if background is True:
|
if background is True:
|
||||||
return background_event_decorator(func, __interal_reflex_call=True) # type: ignore
|
return background_event_decorator(func, __internal_reflex_call=True) # type: ignore
|
||||||
return func # type: ignore
|
return func # type: ignore
|
||||||
|
|
||||||
if func is not None:
|
if func is not None:
|
||||||
@ -1639,7 +1639,7 @@ else:
|
|||||||
|
|
||||||
def wrapper(func: Callable[P, T]) -> Callable[P, T]:
|
def wrapper(func: Callable[P, T]) -> Callable[P, T]:
|
||||||
if background is True:
|
if background is True:
|
||||||
return background_event_decorator(func, __interal_reflex_call=True) # type: ignore
|
return background_event_decorator(func, __internal_reflex_call=True) # type: ignore
|
||||||
return func # type: ignore
|
return func # type: ignore
|
||||||
|
|
||||||
if func is not None:
|
if func is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user