From dc1785047526b8220c940d6b16e48b49bbd96b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Wed, 29 Apr 2026 01:31:51 +0200 Subject: [PATCH] Remove lru_cache so tests clear --- discord_rss_bot/custom_message.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/discord_rss_bot/custom_message.py b/discord_rss_bot/custom_message.py index db2a67e..1536e64 100644 --- a/discord_rss_bot/custom_message.py +++ b/discord_rss_bot/custom_message.py @@ -5,7 +5,6 @@ import json import logging import re from dataclasses import dataclass -from functools import lru_cache from typing import TYPE_CHECKING from bs4 import BeautifulSoup @@ -194,7 +193,6 @@ def replace_tags_in_text_message(entry: Entry, reader: Reader) -> str: return custom_message.replace("\\n", "\n") -@lru_cache(200) def get_first_image(summary: str | None, content: str | None) -> str: # noqa: C901 """Get image from summary or content.