fix attribute spelling bug fix contributed by Matthias Kirst <matt@clondiag.com>
authorrobin
Tue, 26 Feb 2013 16:56:43 +0000
changeset 3651 743a52af7e9a
parent 3650 ee1ab6a5402a
child 3652 f73d5baa5c86
fix attribute spelling bug fix contributed by Matthias Kirst <matt@clondiag.com>
src/reportlab/platypus/tables.py
--- a/src/reportlab/platypus/tables.py	Fri Feb 22 11:51:45 2013 +0000
+++ b/src/reportlab/platypus/tables.py	Tue Feb 26 16:56:43 2013 +0000
@@ -560,7 +560,7 @@
                                 raise LayoutError("Flowable %s (%sx%s points) too wide for cell(%d,%d) (%sx* points) in\n%s" % (v[0].identity(30),fp_str(dW),fp_str(t),i,j, fp_str(w), self.identity(30)))
                         else:
                             v = (v is not None and str(v) or '').split("\n")
-                            t = (s.leading or 1.2*s.fontSize)*len(v)
+                            t = (s.leading or 1.2*s.fontsize)*len(v)
                         t += s.bottomPadding+s.topPadding
                         if span:
                             r0 = span[1]