From 8f4b3304075325f09b5d5d199597db1c1660fc0f Mon Sep 17 00:00:00 2001 From: nobody43 <15267739+nobody43@users.noreply.github.com> Date: Sat, 23 Nov 2024 18:35:53 +0000 Subject: [PATCH] Update profile_check.py --- tests/profile_check.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/profile_check.py b/tests/profile_check.py index c793543e..90f5b56b 100644 --- a/tests/profile_check.py +++ b/tests/profile_check.py @@ -456,6 +456,9 @@ def main(argv): profile_data.update(profilesInFile) for m in messages: + if m.get('suggestion'): + if m['suggestion'].endswith('\n'): + m['suggestion'] = m.get('suggestion').removesuffix('\n') m['filename'] = str(m.get('filename')) print(json.dumps(m, indent=2))