diff MPIWGRoot.py @ 35:38cbbeaf266b

more work on projects. responsibleScientistsList has new format.
author casties
date Thu, 25 Apr 2013 21:39:57 +0200
parents 01b5265264b6
children bbad6a092861
line wrap: on
line diff
--- a/MPIWGRoot.py	Thu Apr 25 12:07:56 2013 +0200
+++ b/MPIWGRoot.py	Thu Apr 25 21:39:57 2013 +0200
@@ -28,7 +28,7 @@
 import updatePersonalWWW
 from bibliography import *
 import MPIWGStaff
-from SrvTxtUtils import getInt, utf8ify, refreshingImageFileIndexHtml
+from SrvTxtUtils import getInt, getAt, utf8ify, refreshingImageFileIndexHtml
 
 
 def sortWeight(x,y):
@@ -307,10 +307,10 @@
     def isActiveMember(self,key):
         """tested ob Mitarbeiter key ist aktiv"""
         key=utf8ify(key)
-        ret=self.getat(self.ZSQLInlineSearch(_table='personal_www',
+        ret=getAt(self.ZSQLInlineSearch(_table='personal_www',
                                             _op_key='eq',key=key,
                                             _op_publish_the_data='eq',
-                                            publish_the_data='yes'))
+                                            publish_the_data='yes'), 0)
         
         logging.info("ACTIVE_MEMBER  %s"%ret)
         if ret: