diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-07-07 22:34:41 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-07-07 22:34:41 +0100 |
| commit | cdb8de78efe248ac3ace854095b14659f3425dfa (patch) | |
| tree | 40a8a63742e9d73afcd1f2ffb49a0bd1202bf1f2 /mammoth/conversion.py | |
| parent | 99d1e7324fb2df19fdd011734191359e49c0fa43 (diff) | |
Use blank author label when author's initials are missing
Diffstat (limited to 'mammoth/conversion.py')
| -rw-r--r-- | mammoth/conversion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/conversion.py b/mammoth/conversion.py index 85d8ec5..fa07d03 100644 --- a/mammoth/conversion.py +++ b/mammoth/conversion.py @@ -317,7 +317,7 @@ def _document_matcher_matches(matcher, element, element_type): def _comment_author_label(comment): - return comment.author_initials or "Comment" + return comment.author_initials or "" _up_arrow = "↑" |
