Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 1, 2023
1 parent ea11637 commit 183cdd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbconvert/exporters/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def get_exporter(name, config=get_config()): # noqa

try:
exporters = entry_points(group="nbconvert.exporters")
items = list(e for e in exporters if e.name == name or e.name == name.lower())
items = [e for e in exporters if e.name == name or e.name == name.lower()]
exporter = items[0].load()
if getattr(exporter(config=config), "enabled", True):
return exporter
Expand Down

0 comments on commit 183cdd9

Please sign in to comment.