ruff fix但指定了--unsafe-fixes

This commit is contained in:
minecraft1024a
2025-10-05 21:48:32 +08:00
parent 0b4e1f5b7b
commit 9d705463ce
76 changed files with 300 additions and 315 deletions

View File

@@ -240,7 +240,7 @@ def get_emotions() -> list[str]:
if not emoji_obj.is_deleted and emoji_obj.emotion:
emotions.update(emoji_obj.emotion)
return sorted(list(emotions))
return sorted(emotions)
except Exception as e:
logger.error(f"[EmojiAPI] 获取情感标签失败: {e}")
return []