Skip to content

Commit

Permalink
Try to fix failing linting test.
Browse files Browse the repository at this point in the history
  • Loading branch information
HaudinFlorence committed Oct 8, 2024
1 parent f88620e commit 9361dd6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nbconvert/exporters/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,7 @@ def from_notebook_node( # type:ignore[explicit-override, override]
markdown_collection = markdown_collection + cell.source + "\n"

resources = self._init_resources(resources)
resources.update(
{"tableofcontents": extract_titles_from_markdown_input(markdown_collection)}
)
resources["tableofcontents"] = extract_titles_from_markdown_input(markdown_collection)

filter_data_type = WidgetsDataTypeFilter(
notebook_metadata=self._nb_metadata, parent=self, resources=resources
Expand Down

0 comments on commit 9361dd6

Please sign in to comment.