changeset 213:77b141687ee4

*** empty log message ***
author abukhman
date Fri, 08 Oct 2010 14:21:40 +0200
parents e8ddac20d558
children dc744bd2174c
files MpdlXmlTextServer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Fri Oct 08 14:18:14 2010 +0200
+++ b/MpdlXmlTextServer.py	Fri Oct 08 14:21:40 2010 +0200
@@ -203,7 +203,7 @@
                       if hrefNode:
                           href=hrefNode.nodeValue
                           if href.startswith('http://chinagis.mpiwg-berlin.mpg.de'):
-                              hrefNode.nodeValue =href.replace('chinagis_REST/REST/db/chgis/mpdl','chinagis/REST/db/mpdl/url=%s'%url)
+                              hrefNode.nodeValue =href.replace('chinagis_REST/REST/db/chgis/mpdl','chinagis/REST/db/mpdl/%s'%url)
 
                              #hrefNode.nodeValue=href.replace('chgis','')
                               l.setAttributeNS(None, 'target', '_blank')