Update notify.py

This commit is contained in:
hlt1995 authored and GitHub committed 2025-11-21 20:19:57 +08:00
1 parent 4290b08ac2
commit 0e31482e90
1 file changed
+1 -1
+1 -1
View File
@@ -128,7 +128,7 @@ def bark(title: str, content: str) -> None:
for line in lines:
if any(keyword in line for keyword in ['账号', '用户', 'user', 'account']):
account_count += 1
if account_count > 1 and account_count % 7 == 1: # Bark分段推送
if account_count > 1 and account_count % 10 == 1: # Bark分段推送
segments.append('\n'.join(current_segment))
current_segment = []
current_segment.append(line)