src/reportlab/platypus/doctemplate.py
changeset 3528 5c3249611b60
parent 3523 9f062de04bc6
child 3563 3ba0d95480c9
--- a/src/reportlab/platypus/doctemplate.py	Wed Jun 29 09:57:21 2011 +0000
+++ b/src/reportlab/platypus/doctemplate.py	Wed Jun 29 10:17:06 2011 +0000
@@ -781,7 +781,7 @@
                 else:
                     n = 0
                 if n:
-                    if not isinstance(S[0],(PageBreak,SlowPageBreak,ActionFlowable,LIIndenter)):
+                    if not isinstance(S[0],(PageBreak,SlowPageBreak,ActionFlowable,DDIndenter)):
                         if not frame.add(S[0], canv, trySplit=0):
                             ident = "Splitting error(n==%d) on page %d in\n%s\nS[0]=%s" % (n,self.page,self._fIdent(f,60,frame),self._fIdent(S[0],60,frame))
                             #leave to keep apart from the raise