changeset 328:5e1953779f90

*** empty log message ***
author abukhman
date Fri, 15 Oct 2010 16:54:07 +0200
parents 1c4e63d22283
children b4a5ceb7905d
files MpdlXmlTextServer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Fri Oct 15 16:26:20 2010 +0200
+++ b/MpdlXmlTextServer.py	Fri Oct 15 16:54:07 2010 +0200
@@ -191,7 +191,7 @@
         pagedivs = dom.xpath("//div[@class='pageNumberOrig']")
         if len(pagedivs)>0:
             docinfo['originalPage'] = getTextFromNode(pagedivs[0])
-            return docinfo
+            return docinfo['originalPage']
     
     def getTextPage(self, mode="text", pn=1, docinfo=None, pageinfo=None, highlightQuery=None,sn=None, viewMode=None, tocMode=None, tocPN=None, characterNormalization=""):
         """returns single page from fulltext"""