[cpif] r224 - trunk/backend

svn at argo.es svn at argo.es
Mon Jul 2 23:50:57 CEST 2007


Author: jcea
Date: Mon Jul  2 23:50:56 2007
New Revision: 224

Log:
Terceros 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:50:56 2007
@@ -373,7 +373,8 @@
     avatar=None
     if autor2 :
       avatar=autor2["avatar"]
-      avatar=(avatar,avatares[avatar][0]["size"])
+      if avatar :
+        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