changeset 354:ca01770b51a1

*** empty log message ***
author abukhman
date Mon, 18 Oct 2010 13:55:07 +0200
parents 622acf99ccec
children 929211c057eb
files MpdlXmlTextServer.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Mon Oct 18 13:51:42 2010 +0200
+++ b/MpdlXmlTextServer.py	Mon Oct 18 13:55:07 2010 +0200
@@ -192,10 +192,10 @@
         dom =Parse(text)
         pagedivs = dom.xpath("//div[@class='pageNumberOrig']")
         if len(pagedivs)>0:
-            docinfo['originalPage'] = getTextFromNode(pagedivs[0])
+            originalPage = getTextFromNode(pagedivs[0])
         #return docinfo['originalPage']
-        #return originalPage
-            return docinfo
+        return originalPage
+        #return docinfo
         
     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"""