Skip to content

Commit 8efe1c7

Browse files
committed
Fix typo in outputs key
1 parent 2765bb1 commit 8efe1c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_ydoc/ynotebook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def _update_cell(self, old_cell: dict, new_cell: dict, old_ycell: Map) -> bool:
345345
for key in shared_keys:
346346
if old_cell[key] != new_cell[key]:
347347
value = new_cell[key]
348-
if key == "output" and value:
348+
if key == "outputs" and value:
349349
# outputs require complex handling - some have Text type nested;
350350
# for now skip creating them; clearing all outputs is fine
351351
return False

0 commit comments

Comments
 (0)