From 1a90d8cbe1b3edd6f75609e39333a3847f8ada1a Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sat, 20 Apr 2019 12:44:40 +0300 Subject: [PATCH] Fix wrong parsing of sendmail command --- motioneye/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: