添加数据库提交处理
This commit is contained in:
@@ -29,6 +29,7 @@ def update_description(emoji_uuid: str, description: str) -> bool:
|
||||
|
||||
if affected_rows > 0:
|
||||
logger.info(f"成功更新表情包描述,UUID: {emoji_uuid}")
|
||||
connection.commit()
|
||||
return True
|
||||
else:
|
||||
logger.warning(f"未找到要更新的表情包,UUID: {emoji_uuid}")
|
||||
|
||||
Reference in New Issue
Block a user