diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-09-12 10:03:58 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-09-12 10:03:58 +0100 |
| commit | 2c398cff79e9035caa5674b5038a87c27353a1c2 (patch) | |
| tree | 2e58a453e0be11baf2fcddb3e1e5bab0557422c0 /mammoth/docx/body_xml.py | |
| parent | d9678f1c64103c2062f30dc0dd66a5679ef0cf01 (diff) | |
Start warning message with capital letter
Diffstat (limited to 'mammoth/docx/body_xml.py')
| -rw-r--r-- | mammoth/docx/body_xml.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |
