first commit

This commit is contained in:
Michelle Zan
2026-09-03 15:35:23 +08:00
commit 9b26161bcf
510 changed files with 29402 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import os, sqlite3, datetime
BASE = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DB = os.path.join(BASE, "db", "research.db")
NOTE = "该员工自助培训页为嵌入式LMS,持续加载无法稳定截图,已跳过。"
conn = sqlite3.connect(DB)
now = datetime.datetime.now().isoformat(timespec="seconds")
cur = conn.execute(
"UPDATE features SET note=?, updated_at=? WHERE screenshot_path LIKE ?",
(NOTE, now, "%09_我的培训%"))
conn.commit()
print("rows updated:", cur.rowcount)
conn.close()