From 736cf6e26b3087c9d68397349c9c09e8696d4fdc Mon Sep 17 00:00:00 2001 From: Juni Date: Fri, 9 Dec 2022 12:18:54 -0500 Subject: [PATCH] missing elif --- rss/rss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rss/rss.py b/rss/rss.py index 2ad797f..30e19f7 100644 --- a/rss/rss.py +++ b/rss/rss.py @@ -1405,7 +1405,7 @@ class RSS(commands.Cog): log.debug(f"New entry found via time and link validation for feed {name} on cid {channel.id}") feedparser_plus_obj = await self._add_to_feedparser_object(entry, url) feedparser_plus_objects.append(feedparser_plus_obj) - if (last_title == "" and entry_title == "") and (last_link != entry_link) and (last_time < entry_time): + elif (last_title == "" and entry_title == "") and (last_link != entry_link) and (last_time < entry_time): log.debug(f"New entry found via time validation for feed {name} on cid {channel.id} - no title") feedparser_plus_obj = await self._add_to_feedparser_object(entry, url) feedparser_plus_objects.append(feedparser_plus_obj)