Skip to content

Commit

Permalink
Fix wrong parsing of sendmail command
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrisan committed Apr 20, 2019
1 parent 2ee010e commit 1a90d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motioneye/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1a90d8c

Please sign in to comment.