actually that was redundant and unneeded just remove it

This commit is contained in:
Juni
2022-12-09 12:25:35 -05:00
parent 736cf6e26b
commit e25049bfb7

View File

@@ -1405,10 +1405,6 @@ class RSS(commands.Cog):
log.debug(f"New entry found via time and link validation for feed {name} on cid {channel.id}") 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_obj = await self._add_to_feedparser_object(entry, url)
feedparser_plus_objects.append(feedparser_plus_obj) feedparser_plus_objects.append(feedparser_plus_obj)
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)
# this is a post that has no time information attached to it and we can only # this is a post that has no time information attached to it and we can only
# verify that the title and link did not match the previously posted entry # verify that the title and link did not match the previously posted entry