diff --git a/status/status.py b/status/status.py index df8adb1a..04227ffb 100644 --- a/status/status.py +++ b/status/status.py @@ -310,7 +310,7 @@ async def _check_real_update(self, service: str, feeddict: dict) -> bool: If so, will update the feed store. """ async with self.config.feed_store() as feed_store: - old_fields = feed_store["discord"].get("fields") + old_fields = feed_store[service].get("fields") prev_titles = [] for field in old_fields: prev_titles.append(field.get("name")) @@ -763,7 +763,6 @@ async def statusset_preview(self, ctx: commands.Context, service: str, mode: str await session.close() feed = feedparser.parse(html) feeddict = await self._process_feed(service, feed) - await self._check_real_update(service, feeddict) # this will add it to the feed_store else: feeddict["time"] = datetime.datetime.fromtimestamp(feeddict["time"])