fix: 法定节假日无消息日期跳过联网确认
This commit is contained in:
@ -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(
|
||||
|
||||
Reference in New Issue
Block a user