comparison MpdlXmlTextServer.py @ 588:e1034c2ca255

bug with missing current param.
author casties
date Thu, 15 Nov 2012 17:20:03 +0100
parents 51800c42bcda
children c57d80a649ea
comparison
equal deleted inserted replaced
587:6000c7e24d8a 588:e1034c2ca255
237 237
238 docpath = docinfo.get('textURLPath', None) 238 docpath = docinfo.get('textURLPath', None)
239 if not docpath: 239 if not docpath:
240 return None 240 return None
241 241
242 # just checking
243 if pageinfo['current'] != pn:
244 logging.warning("getTextPage: current!=pn!")
245
246 # stuff for constructing full urls 242 # stuff for constructing full urls
247 selfurl = docinfo['viewerUrl'] 243 selfurl = docinfo['viewerUrl']
248 textParams = {'document': docpath, 244 textParams = {'document': docpath,
249 'pn': pn} 245 'pn': pn}
250 if 'characterNormalization' in pageinfo: 246 if 'characterNormalization' in pageinfo: