author | robin |
Tue, 19 Nov 2013 13:51:41 +0000 | |
branch | py33 |
changeset 3795 | 2a6c4b74219f |
parent 3794 | 398ea04239b5 |
child 3796 | c9a86549dee7 |
--- 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: