Skip to content

Commit 191efa5

Browse files
committed
Fix page src_uri attribute
1 parent 042395c commit 191efa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkdocs_rss_plugin/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def get_description_or_abstract(self, in_page: Page, chars_count: int = 160) ->
369369
# If no description and chars_count set to 0, return empty string
370370
elif not description and chars_count == 0:
371371
logger.warning(
372-
f"[rss-plugin] No description set for page {in_page.file} "
372+
f"[rss-plugin] No description set for page {in_page.file.src_uri} "
373373
"and 'abstract_chars_count' set to 0. The feed won't be compliant, "
374374
"because an item must have a description."
375375
)

0 commit comments

Comments
 (0)