From 5e83c0546e7c96450721a2c7875f0a01f02393d5 Mon Sep 17 00:00:00 2001 From: helloplhm-qwq Date: Sat, 20 Jan 2024 00:05:44 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E4=B8=A4=E8=A1=8Cpr?= =?UTF-8?q?int?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/config.py b/common/config.py index 6b926a0..d165e25 100644 --- a/common/config.py +++ b/common/config.py @@ -366,7 +366,6 @@ def getCache(module, key): (module, key)) result = cursor.fetchone() - print(result) if result: cache_data = json.loads(result[0]) cache_data["time"] = int(cache_data["time"]) @@ -391,7 +390,6 @@ def updateCache(module, key, data): cursor.execute( "SELECT data FROM cache WHERE module=? AND key=?", (module, key)) result = cursor.fetchone() - print(data) if result: cursor.execute( "UPDATE cache SET data = ? WHERE module = ? AND key = ?", (json.dumps(data), module, key))