Remove extra \n

This commit is contained in:
blank X 2021-01-19 10:41:37 +07:00
parent 4b163a1195
commit 47f30032f7
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ async def get_deai(client, entity):
text += f'--- {i}\n' text += f'--- {i}\n'
text += f'- <b>Risk Factor:</b> {match.group(2).capitalize()}\n' text += f'- <b>Risk Factor:</b> {match.group(2).capitalize()}\n'
text += f'- <b>Module:</b> {DEAI_MODULE_CODES.get(match.group(3), match.group(3))}\n' text += f'- <b>Module:</b> {DEAI_MODULE_CODES.get(match.group(3), match.group(3))}\n'
text += f'- <b>Engine:</b> {match.group(4).capitalize()}\n' text += f'- <b>Engine:</b> {match.group(4).capitalize()}'
comment = (match.group(5) or '').strip() comment = (match.group(5) or '').strip()
if comment: if comment:
text += f'\n- <b>Comment:</b> {html.escape(comment)}' text += f'\n- <b>Comment:</b> {html.escape(comment)}'