mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Loosen up body check on template
https://github.com/ansible/awx/issues/14985 https://github.com/ansible/awx/issues/13983
This commit is contained in:
@@ -498,7 +498,7 @@ class JobNotificationMixin(object):
|
||||
# Body should have at least 2 CRLF, some clients will interpret
|
||||
# the email incorrectly with blank body. So we will check that
|
||||
|
||||
if len(body.strip().splitlines()) <= 2:
|
||||
if len(body.strip().splitlines()) < 1:
|
||||
# blank body
|
||||
body = '\r\n'.join(
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user