Mercurial > hg > documentViewer
diff documentViewer.py @ 156:c94e206ba32c
characterNormalization
author | abukhman |
---|---|
date | Tue, 24 Aug 2010 11:30:45 +0200 |
parents | 6008ccfb0c9e |
children | de82ae2e9850 |
line wrap: on
line diff
--- a/documentViewer.py Tue Aug 24 11:22:31 2010 +0200 +++ b/documentViewer.py Tue Aug 24 11:30:45 2010 +0200 @@ -712,9 +712,7 @@ pageinfo['tocPN'] = self.REQUEST.get('tocPN', '1') toc = int (pageinfo['tocPN']) pageinfo['textPages'] =int (toc) - - - + if 'tocSize_%s'%tocMode in docinfo: tocSize = int(docinfo['tocSize_%s'%tocMode]) tocPageSize = int(pageinfo['tocPageSize'])