style: fix lint issues

This commit is contained in:
ihmily
2025-06-30 17:46:28 +08:00
parent 815a5968e8
commit f85f231ac5

View File

@@ -291,8 +291,9 @@ class LiveStreamRecorder:
msg_manager = MessagePusher(self.settings)
user_config = self.settings.user_config
if self.app.recording_enabled and MessagePusher.should_push_message(
self.settings, self.recording, check_manually_stopped=True, message_type='end') and not self.recording.notified_live_end:
if (self.app.recording_enabled and MessagePusher.should_push_message(
self.settings, self.recording, check_manually_stopped=True, message_type='end') and
not self.recording.notified_live_end):
push_content = self._["push_content_end"]
end_push_message_text = user_config.get("custom_stream_end_content")
if end_push_message_text: