This commit is contained in:
2025-10-10 17:16:08 +08:00
parent ed947743fc
commit 062b1e24e9
281 changed files with 536 additions and 109 deletions

View File

@@ -108,7 +108,7 @@ def db_write_logs(content, module="", level="info"):
@singledispatch
@db_lock
def db_query_logs(dummy: bool = True):
def db_query_logs(dummy: object = None):
clibs.cursor.execute(f"SELECT * FROM logs")
records = clibs.cursor.fetchall()
len_records = len(records)