[cpif] r223 - trunk/backend

svn at argo.es svn at argo.es
Mon Jul 2 23:45:00 CEST 2007


Author: jcea
Date: Mon Jul  2 23:44:59 2007
New Revision: 223

Log:
Segundos pasos para soportar avatares en el skin

Modified:
   trunk/backend/database.py

Modified: trunk/backend/database.py
==============================================================================
--- trunk/backend/database.py	(original)
+++ trunk/backend/database.py	Mon Jul  2 23:44:59 2007
@@ -373,7 +373,7 @@
     avatar=None
     if autor2 :
       avatar=autor2["avatar"]
-      avatar=(avatar,avatares[avatar]["size"])
+      avatar=(avatar,avatares[avatar][0]["size"])
     mensajes.append((msg_num,autor,msg["TS"],msg["texto"][1],avatar))
     i-=1
     if not i : break



More information about the cpif mailing list