[cpif] r105 - trunk/backend

svn at argo.es svn at argo.es
Thu May 24 20:05:04 CEST 2007


Author: jcea
Date: Thu May 24 20:05:03 2007
New Revision: 105

Log:
Bug si visitamos un hilo que no hemos visitado nunca...



Modified:
   trunk/backend/database.py

Modified: trunk/backend/database.py
==============================================================================
--- trunk/backend/database.py	(original)
+++ trunk/backend/database.py	Thu May 24 20:05:03 2007
@@ -244,7 +244,7 @@
     if not i : break
 
   finished=posicion>=hilo["num_mensajes"]
-  if u["punto de lectura"][hilo_num]<msg_num :
+  if (u["punto de lectura"].get(hilo_num,0)<msg_num) and (root["punto_de_lectura_global"][hilo_num]<msg_num) :
     u["punto de lectura"][hilo_num]=msg_num
     nl=u["punto de lectura no leidos"].get(hilo_num)
     if nl and (nl<=msg_num) :



More information about the cpif mailing list