Skip to content

Commit

Permalink
fix failing doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed Nov 14, 2023
1 parent e4fe584 commit 2562a2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontmatter/default_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ def export(self, metadata: dict[str, object], **kwargs: object) -> str:
return u(metadata_str)


_TOMLHandler.__name__ = "TOMLHandler"

if toml:
TOMLHandler: Type[_TOMLHandler] | None = _TOMLHandler
else:
Expand Down

0 comments on commit 2562a2c

Please sign in to comment.