Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e63d063

Browse files
authored
Fix handling of "silent" in execute request (ipython#1200)
1 parent 93a63fb commit e63d063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipykernel/kernelbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ async def execute_request(self, stream, ident, parent):
733733
try:
734734
content = parent["content"]
735735
code = content["code"]
736-
silent = content["silent"]
736+
silent = content.get("silent", False)
737737
store_history = content.get("store_history", not silent)
738738
user_expressions = content.get("user_expressions", {})
739739
allow_stdin = content.get("allow_stdin", False)

0 commit comments

Comments
 (0)