Skip to content

Commit

Permalink
Fix bug where extra mimekey would drop the full bundle. (#14301)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Jan 19, 2024
2 parents 6e5ec4d + be18b2f commit 112e596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/core/oinspect.py
Expand Up @@ -634,7 +634,7 @@ def format_mime(self, bundle: UnformattedBundle) -> Bundle:
if k in ("text/html", "text/plain"):
continue
else:
new_b = bundle[k] # type:ignore
new_b[k] = bundle[k] # type:ignore
return new_b

def _append_info_field(
Expand Down

0 comments on commit 112e596

Please sign in to comment.