Skip to content

Commit 176fad1

Browse files
committed
Minor doc fix and clarification
Signed-off-by: cyiallou - Costas <[email protected]>
1 parent fd365dd commit 176fad1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frequenz/lib/notebooks/notification_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
smtp_user="[email protected]",
2323
smtp_password="password",
2424
from_email="[email protected]",
25-
attachments=["alert_records.csv"]
25+
attachments=["alert_records.csv"],
2626
scheduler=SchedulerConfig(
2727
send_immediately=True,
2828
interval=60,
@@ -57,7 +57,7 @@
5757
# Start periodic notifications
5858
email_notification.start_scheduler()
5959
60-
# Stop the scheduler after some time if needed
60+
# Stop the scheduler after some time if needed (not required if duration is set)
6161
time.sleep(300)
6262
email_notification.stop_scheduler()
6363
"""

0 commit comments

Comments
 (0)