Skip to content

Commit

Permalink
fix name call in deprecation warning (#508)
Browse files Browse the repository at this point in the history
* fix name call in deprecation warning

* remove static
  • Loading branch information
kjaymiller committed Jan 4, 2024
1 parent 38b69c3 commit bbb5eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render_engine/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __init__(
if parser := getattr(self, "PageParser", None):
logging.warning(
DeprecationWarning(
f"The deprecated`PageParser` attribute is used in `{self.__class__.name}`. \
f"The deprecated`PageParser` attribute is used in `{self.__class__.__name__}`. \
Use the `Parser` attribute instead."
)
)
Expand Down

0 comments on commit bbb5eb8

Please sign in to comment.