From d79be58dfaec4ebe9a9e14554637503c809b7d1a Mon Sep 17 00:00:00 2001 From: Benature Date: Sat, 28 Nov 2026 22:20:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B3=95=E5=AE=9A=E8=8A=82=E5=81=87?= =?UTF-8?q?=E6=97=A5=E6=97=A0=E6=B6=88=E6=81=AF=E6=97=A5=E6=9C=9F=E8=B7=B3?= =?UTF-8?q?=E8=BF=87=E8=81=94=E7=BD=91=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- backfill_summaries.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 13dead7..d3b5ba4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.10 +0.2.11 diff --git a/backfill_summaries.py b/backfill_summaries.py index ebe5f52..80bb298 100755 --- a/backfill_summaries.py +++ b/backfill_summaries.py @@ -200,6 +200,11 @@ def main(): ) if rows: return + import chinese_calendar + + if chinese_calendar.is_holiday(day): + storage.mark_day_synced(day.isoformat(), 0) + return print(f"===== 联网拉取 {day} =====", flush=True) try: stats = sync_all_chats_for_day(