From 2c398cff79e9035caa5674b5038a87c27353a1c2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 12 Sep 2026 10:03:58 +0100 Subject: Start warning message with capital letter --- mammoth/docx/body_xml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mammoth') diff --git a/mammoth/docx/body_xml.py b/mammoth/docx/body_xml.py index 4abf7f3..7ecf43b 100644 --- a/mammoth/docx/body_xml.py +++ b/mammoth/docx/body_xml.py @@ -205,7 +205,7 @@ def _create_reader(numbering, content_types, relationships, styles, docx_file, f elif fld_char_type == "end": if len(complex_field_stack) == 0: return _empty_result_with_message(results.warning( - "ignoring complex field end character without corresponding start character", + "Ignoring complex field end character without corresponding start character", )) complex_field = complex_field_stack.pop() @@ -218,7 +218,7 @@ def _create_reader(numbering, content_types, relationships, styles, docx_file, f elif fld_char_type == "separate": if len(complex_field_stack) == 0: return _empty_result_with_message(results.warning( - "ignoring complex field separator character without corresponding start character", + "Ignoring complex field separator character without corresponding start character", )) complex_field_separate = complex_field_stack.pop() -- cgit v1.2.3