mirror of
https://github.com/maubot/rss.git
synced 2025-03-13 18:46:35 -04:00
Handle attribute errors in find_entries
This commit is contained in:
parent
545dda9d0f
commit
6dbb12f2d4
@ -141,9 +141,9 @@ class RSSBot(Plugin):
|
||||
feed_id=feed_id,
|
||||
id=entry.id,
|
||||
date=cls.get_date(entry),
|
||||
title=entry.title,
|
||||
summary=entry.description,
|
||||
link=entry.link,
|
||||
title=getattr(entry, "title", ""),
|
||||
summary=getattr(entry, "description", ""),
|
||||
link=getattr(entry, "link", ""),
|
||||
) for entry in entries]
|
||||
|
||||
async def get_power_levels(self, room_id: RoomID) -> PowerLevelStateEventContent:
|
||||
|
Loading…
x
Reference in New Issue
Block a user