Skip to content

Commit e0a96ea

Browse files
authored
Merge pull request #128 from cyiallou/fix/minor-doc-fix
Minor doc fix and clarification
2 parents fd365dd + 176fad1 commit e0a96ea

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)