Apply Ruff 0.9.0 (#18622)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
cc1e77138c
commit
3902e740cf
22 changed files with 69 additions and 65 deletions
|
|
@ -93,7 +93,7 @@ class SecurityAlarm(BaseSolution):
|
|||
message["Subject"] = "Security Alert"
|
||||
|
||||
# Add the text message body
|
||||
message_body = f"Ultralytics ALERT!!! " f"{records} objects have been detected!!"
|
||||
message_body = f"Ultralytics ALERT!!! {records} objects have been detected!!"
|
||||
message.attach(MIMEText(message_body))
|
||||
|
||||
# Attach the image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue