key.lower

This commit is contained in:
mrT23
2024-07-14 09:00:10 +03:00
parent 5d6e1de157
commit 6151bfac25

View File

@ -123,7 +123,7 @@ def convert_to_markdown_v2(output_data: dict,
for key, value in output_data['review'].items():
if value is None or value == '' or value == {} or value == []:
if key.lower() != 'can_be_split' and key.lower() != 'key_issues_to_review':
if key.lower() not in ['can_be_split', 'key_issues_to_review']:
continue
key_nice = key.replace('_', ' ').capitalize()
emoji = emojis.get(key_nice, "")