diff --git a/gramps/gui/widgets/styledtexteditor.py b/gramps/gui/widgets/styledtexteditor.py index 17f81750a..e876c0015 100644 --- a/gramps/gui/widgets/styledtexteditor.py +++ b/gramps/gui/widgets/styledtexteditor.py @@ -678,7 +678,7 @@ class StyledTextEditor(Gtk.TextView): self.textbuffer.apply_style(style, value) except ValueError: _LOG.debug("unable to convert '%s' to '%s'" % - (text, StyledTextTagType.STYLE_TYPE[style])) + (value, StyledTextTagType.STYLE_TYPE[style])) def _format_clear_cb(self, action): """