app/soc/logic/helper/notifications.py
changeset 1890 a8a5da24212c
parent 1887 8b71f4e58f39
child 1893 bcb73072aa66
--- a/app/soc/logic/helper/notifications.py	Mon Mar 16 15:33:27 2009 +0000
+++ b/app/soc/logic/helper/notifications.py	Mon Mar 16 16:27:21 2009 +0000
@@ -150,12 +150,12 @@
   message = loader.render_to_string(template, dictionary=message_properties)
 
   fields = {
-      'from_user' : from_user,
+      'from_user': from_user,
       'subject': subject,
-      'message' : message,
-      'scope' : to_user,
-      'link_id' :'t%i' % (time.time()),
-      'scope_path' : to_user.link_id
+      'message': message,
+      'scope': to_user,
+      'link_id': 't%i' %(int(time.time()*100)),
+      'scope_path': to_user.link_id
   }
 
   key_name = model_logic.notification.logic.getKeyNameFromFields(fields)