修复 CI: 适配 MobileCityPicker 测试断言 + 清理 f-string 和无用 import

- removedMonitorRunwayTabs.test.ts: 检查 MobileCityPicker 替代旧 scan-mobile-city-list-view
- stableServerRefreshPolicy.test.ts: 同上,MobileCityPicker 替代旧视图标识
- scan_forum_topics.py: 移除无占位符的 f-string 和无用 json import
This commit is contained in:
2569718930@qq.com
2026-05-17 18:08:59 +08:00
parent d39534dff4
commit 02fd7d9e49
3 changed files with 6 additions and 7 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
"""扫描群组内所有 Forum Topic,打印名称和 thread_id。"""
from __future__ import annotations
import json
import os
import sys
from concurrent.futures import ThreadPoolExecutor, as_completed
@@ -52,7 +51,7 @@ def main() -> int:
print("未设置 TELEGRAM_BOT_TOKEN", file=sys.stderr)
return 1
print(f"扫描群组话题...")
print("扫描群组话题...")
topics = []
with ThreadPoolExecutor(max_workers=10) as pool:
futures = {pool.submit(_try_get_topic, tid): tid for tid in range(1, 101)}