fix: kanban_xmpp_bridge KANBAN_DB改硬编码绝对路径——expanduser('~')在cron环境下解析到profile HOME导致连0字节空库(no such table: tasks),改/home/hmo/.hermes/kanban.db绝对路径

This commit is contained in:
hmo
2026-08-14 00:20:27 +08:00
parent 5a97442520
commit 563029bab6
+1 -1
View File
@@ -10,7 +10,7 @@
"""
import json, os, sqlite3, time, urllib.request
KANBAN_DB = os.path.expanduser("~/.hermes/kanban.db")
KANBAN_DB = "/home/hmo/.hermes/kanban.db"
STATE = "/home/hmo/MoFin/gateway/logs/kanban_bridge_state.json"
XMPP_SEND = "http://127.0.0.1:5805/"
TARGET_JID = "xxm@yoin.fun"