From 5843c77e3fa14bed3c749303760acd467edf4d42 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 23 Mar 2026 13:28:25 -0700 Subject: update chuni parse to X_VERSE_X --- news_feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/news_feed.py b/news_feed.py index 3dd1d61..e5e1c08 100644 --- a/news_feed.py +++ b/news_feed.py @@ -121,7 +121,7 @@ class ChunithmJPSource(NewsSource): def fetch(self, version=None) -> list[dict]: from sega.chuni_jp import parse_chuni_jp_news_site, parse_chuni_jp_post_images site_data = download_site_as_html(constants.CHUNITHM_JP_NEWS_SITE) - if version not in [constants.CHUNITHM_VERSION.VERSE, constants.CHUNITHM_VERSION.X_VERSE]: + if version != constants.CHUNITHM_VERSION.X_VERSE_X: return [] news_posts = sorted(parse_chuni_jp_news_site(site_data), key=lambda x: x['timestamp'], reverse=True) news_posts = translate.add_translate_text_to_en(news_posts) -- cgit v1.2.3