branch | py33 |
changeset 3795 | 2a6c4b74219f |
parent 3760 | 674899ebab37 |
child 3850 | 52c3600611ec |
--- a/src/reportlab/platypus/doctemplate.py Tue Nov 19 13:50:34 2013 +0000 +++ b/src/reportlab/platypus/doctemplate.py Tue Nov 19 13:51:41 2013 +0000 @@ -642,7 +642,7 @@ def handle_nextPageTemplate(self,pt): '''On endPage change to the page template with name or index pt''' - if isinstance(pt,''): + if isinstance(pt,str): if hasattr(self, '_nextPageTemplateCycle'): del self._nextPageTemplateCycle for t in self.pageTemplates: if t.id == pt: