Mercurial > hg > documentViewer
changeset 160:db9bcbbd5868
characterNormalization
author | abukhman |
---|---|
date | Tue, 24 Aug 2010 11:59:10 +0200 |
parents | 29fc850d4a6f |
children | 1e1733fbe286 |
files | documentViewer.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/documentViewer.py Tue Aug 24 11:42:24 2010 +0200 +++ b/documentViewer.py Tue Aug 24 11:59:10 2010 +0200 @@ -678,7 +678,7 @@ self.REQUEST.SESSION['docinfo'] = docinfo return docinfo - def getPageinfo(self, current, start=None, rows=None, cols=None, docinfo=None, viewMode=None, tocMode=None, characterNormalization=None): + def getPageinfo(self, current, start=None, rows=None, cols=None, docinfo=None, viewMode=None, tocMode=None): """returns pageinfo with the given parameters""" pageinfo = {} current = getInt(current) @@ -713,8 +713,6 @@ toc = int (pageinfo['tocPN']) pageinfo['textPages'] =int (toc) - - if 'tocSize_%s'%tocMode in docinfo: tocSize = int(docinfo['tocSize_%s'%tocMode]) tocPageSize = int(pageinfo['tocPageSize'])