Skip to content

Commit

Permalink
chore: 移除两行print
Browse files Browse the repository at this point in the history
  • Loading branch information
helloplhm-qwq committed Jan 19, 2024
1 parent cff11e6 commit 5e83c05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand All @@ -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))
Expand Down

0 comments on commit 5e83c05

Please sign in to comment.