Mercurial > hg > documentViewer
changeset 417:a7dc563103c7
new getInfoFromPage to read multiple parameters at once
author | casties |
---|---|
date | Thu, 23 Dec 2010 18:05:01 +0100 |
parents | 1c821283556a |
children | bed1ff5eaec1 |
files | MpdlXmlTextServer.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/MpdlXmlTextServer.py Thu Dec 23 17:45:55 2010 +0100 +++ b/MpdlXmlTextServer.py Thu Dec 23 18:05:01 2010 +0100 @@ -243,6 +243,12 @@ docinfo['allPlaces'] = int(s) except: docinfo['allPlaces'] = 0 + + else: + # no full text -- init to 0 + docinfo['figureEntries'] = 0 + docinfo['tocEntries'] = 0 + docinfo['allPlaces'] = 0 return docinfo