New Database

This commit is contained in:
喆OvO
2026-08-11 22:07:55 +08:00
parent cbbb2e6d34
commit ceb4404c6a
28 changed files with 1825 additions and 768 deletions
-1
View File
@@ -84,7 +84,6 @@ def delete_alarm(alarm_id: int, user_id: int = None) -> bool:
def check_alarms(user_id: int = None) -> list:
if user_id is None:
user_id = _uid()
global _triggered_state
db = get_db(current_app.config["DB_PATH"])
now = tz_now()