# HG changeset patch # User abukhman # Date 1282643950 -7200 # Node ID db9bcbbd58683061b32c822dada2cd9b6ef37c7a # Parent 29fc850d4a6f98f2a28175ab8ba2fd29697f71a4 characterNormalization diff -r 29fc850d4a6f -r db9bcbbd5868 documentViewer.py --- 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'])