src/reportlab/platypus/paraparser.py
changeset 4116 cf49463fc067
parent 4097 1c2ebf285cb7
child 4129 1266500a2c22
--- a/src/reportlab/platypus/paraparser.py	Thu Jun 19 11:44:03 2014 +0100
+++ b/src/reportlab/platypus/paraparser.py	Fri Jun 20 11:24:17 2014 +0900
@@ -752,7 +752,7 @@
             try:
                 v = unicodedata.lookup(attr['name'])
             except KeyError:
-                self._syntax_error('<unichar/> invalid name attribute\n"%s"' % ascii(name))
+                self._syntax_error('<unichar/> invalid name attribute\n"%s"' % ascii(attr['name']))
                 v = '\0'
         elif 'code' in attr:
             try: