[cpif] r379 - trunk/frontend-web

svn at argo.es svn at argo.es
Thu Oct 11 15:35:23 CEST 2007


Author: jcea
Date: Thu Oct 11 15:35:10 2007
New Revision: 379

Log:
No salen los avatares en el perfil

Modified:
   trunk/frontend-web/skins.py

Modified: trunk/frontend-web/skins.py
==============================================================================
--- trunk/frontend-web/skins.py	(original)
+++ trunk/frontend-web/skins.py	Thu Oct 11 15:35:10 2007
@@ -328,7 +328,7 @@
     elif "profile" in urls[self._url]:
       self._dict["body"] = available_skins[self._skin]['profile']
       if self._dict["avatar"]:
-        self._dict["profile avatar"] = available_skins[self._skin]['avatar'] % {"avatar": self._dict["avatar"], "author": self._dict["user"], "width": "", "height": ""} 
+        self._dict["profile avatar"] = available_skins[self._skin]['avatar'] % {"avatar": "/static/avatars/"+self._dict["avatar"], "author": self._dict["user"], "width": "", "height": ""} 
       else:
         self._dict["profile avatar"]=""
       aux = available_skins[self._skin]['generic'] % self._dict 



More information about the cpif mailing list