Skip to content

Commit acaa46b

Browse files
committed
Fix background callbacks missing cancel error.
1 parent 546d5d5 commit acaa46b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dash/dash.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,8 +1321,8 @@ def _setup_server(self):
13211321
long = callback.get("long")
13221322
if not long:
13231323
continue
1324-
cancel = long.pop("cancel_inputs")
1325-
if cancel:
1324+
if "cancel_inputs" in long:
1325+
cancel = long.pop("cancel_inputs")
13261326
for c in cancel:
13271327
cancels[c] = long.get("manager")
13281328

0 commit comments

Comments
 (0)