Changeset 580:0806cb9061c1 in documentViewer
- Timestamp:
- Oct 29, 2012, 10:57:30 AM (12 years ago)
- Branch:
- default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
documentViewer.py
r578 r580 555 555 # url points to document dir or index.meta 556 556 metaDom = self.metadataService.getDomFromPathOrUrl(url) 557 docUrl = url.replace('/index.meta', '')558 557 if metaDom is None: 559 558 raise IOError("Unable to find index.meta for mode=texttool!") 559 560 docUrl = url.replace('/index.meta', '') 561 if url.startswith('/mpiwg/online/'): 562 docUrl = url.replace('/mpiwg/online/', '', 1) 560 563 561 564 elif mode=="imagepath": … … 649 652 if docinfo.get('imagePath', None): 650 653 imgpath = docinfo['imagePath'].replace('/mpiwg/online/', '', 1) 654 logging.debug("imgpath=%s"%imgpath) 651 655 docinfo['imageURL'] = "%s?fn=%s"%(self.digilibScalerUrl, imgpath) 652 656 docinfo = self.getDocinfoFromDigilib(docinfo, imgpath) -
version.txt
r578 r580 1 DocumentViewer 2.2. 61 DocumentViewer 2.2.7
Note: See TracChangeset
for help on using the changeset viewer.