diff MpdlXmlTextServer.py @ 133:40730cfbcb8e

fixed problem with getnumpages and **args
author casties
date Thu, 17 Jun 2010 20:34:36 +0200
parents 39167e96e582
children 6a33aa624ba4
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Thu Jun 17 19:38:59 2010 +0200
+++ b/MpdlXmlTextServer.py	Thu Jun 17 20:34:36 2010 +0200
@@ -121,7 +121,7 @@
                 return serializeNode(pagenode)      
         return "no text here"   
                        
-    def getNumPages(self,docinfo=None):
+    def getNumPages(self, docinfo):
         """get list of pages from fulltext and put in docinfo"""
         if 'numPages' in docinfo:
             # already there
@@ -328,4 +328,4 @@
         RESPONSE.redirect('manage_main')
 
 
-    
\ No newline at end of file
+