mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-06-09 07:26:50 +00:00
fix log
This commit is contained in:
@@ -52,7 +52,7 @@ class SqlExecute(_PluginBase):
|
||||
# 执行SQL语句
|
||||
cursor.execute(sql)
|
||||
|
||||
print(cursor.fetchall())
|
||||
logger.info(cursor.fetchall())
|
||||
except Exception as e:
|
||||
logger.error(f"SQL语句执行失败 {str(e)}")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user