Changeset 530:5c7433c2515c in documentViewer for MpdlXmlTextServer.py


Ignore:
Timestamp:
Apr 26, 2012, 5:37:15 PM (12 years ago)
Author:
casties
Branch:
default
Message:

fix problems with texttool/text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r529 r530  
    215215            return pageinfo['textPage']
    216216       
    217         docpath = docinfo['textURLPath']
     217        docpath = docinfo.get('textURLPath', None)
     218        if not docpath:
     219            return None
     220       
    218221        # just checking
    219222        if pageinfo['current'] != pn:
Note: See TracChangeset for help on using the changeset viewer.