Changeset 65:c048559460a3 in documentViewer


Ignore:
Timestamp:
Jun 29, 2007, 3:44:40 PM (17 years ago)
Author:
casties
Branch:
default
Message:

fix problems with full text paths starting with /mpiwg/online

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r63 r65  
    426426           if urlparse.urlparse(textUrl)[0]=="": #keine url
    427427               textUrl=os.path.join(archivePath,textUrl)
    428 
     428           # fix URLs starting with /mpiwg/online
     429           if textUrl.startswith("/mpiwg/online"):
     430               textUrl = textUrl.replace("/mpiwg/online",'',1)
     431           
    429432           docinfo['textURL'] = textUrl
    430433   
Note: See TracChangeset for help on using the changeset viewer.