Ruff Format

This commit is contained in:
DrSmoothl
2026-03-13 11:45:26 +08:00
parent 2a510312bc
commit a576313b22
70 changed files with 956 additions and 731 deletions

View File

@@ -107,7 +107,7 @@ class UniversalMessageSender:
logger.info(f"已将消息 '{message_preview}' 发往平台'{message.platform}'")
return True
except Exception as legacy_e:
except Exception:
# # Legacy API 抛出异常,尝试 Fallback
# return await self._send_with_fallback(
# message, message_preview, platform, show_log, legacy_exception=legacy_e