diff --git a/motioneye/config.py b/motioneye/config.py index 701e2ed33..854ea1093 100644 --- a/motioneye/config.py +++ b/motioneye/config.py @@ -1380,7 +1380,7 @@ def motion_camera_dict_to_ui(data): ui['email_notifications_picture_time_span'] = 0 command_notifications = [] for e in on_event_start: - if e.count('sendmail'): + if e.count(' sendmail '): e = shlex.split(e) if len(e) < 10: