diff MPIWGThesaurus.py @ 38:a8907351ddf2

fixed only /en/research links.
author casties
date Tue, 29 Oct 2013 16:47:36 +0100
parents e13200d8d473
children 4342a81e0aa0
line wrap: on
line diff
--- a/MPIWGThesaurus.py	Thu Oct 24 15:32:28 2013 +0200
+++ b/MPIWGThesaurus.py	Tue Oct 29 16:47:36 2013 +0100
@@ -1545,13 +1545,13 @@
 
         return ret
     
-    def getProjectDetails(self,getID):
-        project=getattr(self.projects,getID,None)
+    def getProjectDetails(self,projectId):
+        project=getattr(self.projects,projectId,None)
         if project is None:
-            logging.debug("no project!! " +getID)
+            logging.debug("no project!! " +projectId)
             return None
         
-        link="/en/research/projects/"+getID
+        link=projectId
         
         title=project.getContent("WEB_title")
         #persons=project.getPersonKeyList()