Skip to content

Commit 7a5526b

Browse files
sneakers-the-ratlwasser
authored andcommitted
correct object name
1 parent 6558e4f commit 7a5526b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_ext/rss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class RSSItem:
3030
author: str = "PyOpenSci"
3131

3232
@classmethod
33-
def from_meta(cls, page_name: str, meta: dict, app: "Sphinx") -> "RSSMeta":
33+
def from_meta(cls, page_name: str, meta: dict, app: "Sphinx") -> "RSSItem":
3434
"""Create from a page's metadata"""
3535
url = urljoin(app.config.html_baseurl, app.builder.get_target_uri(page_name))
3636
# purposely don't use `get` here because we want to error if these fields are absent

0 commit comments

Comments
 (0)