Skip to content

Commit

Permalink
Fix inverted logic
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Sep 14, 2024
1 parent 734d43a commit 1a5c235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbsite/pyodide/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def html_page_context(
if module_tags:
context["body"] = f'{module_tags}{context["body"]}'

if not any(
if any(
'pyodide' in cb.attributes.get('classes', [])
for cb in doctree.traverse(nodes.literal_block)
):
Expand Down

0 comments on commit 1a5c235

Please sign in to comment.