merge-requests/30/head
Bob Mottram 2024-06-05 16:12:09 +01:00
parent 3eb9a66e7a
commit 4d25af2705
1 changed files with 1 additions and 0 deletions

View File

@ -1005,6 +1005,7 @@ def _atom_feed_to_dict(base_dir: str, domain: str, xml_str: str,
preferred_podcast_formats: [],
system_language: str) -> {}:
"""Converts an atom feed string to a dictionary
Also see https://activitystrea.ms/specs/atom/1.0/
"""
if '<entry>' not in xml_str:
return {}