FIX: unicode (and commenting) in notification logging
authorraph
Wed, 25 Nov 2009 09:34:10 +0100
changeset 7 548c727b8dc2
parent 6 2fae765d6ebc
child 8 1a495fcc40f9
FIX: unicode (and commenting) in notification logging
src/cm/notifications.py
--- a/src/cm/notifications.py	Tue Nov 24 10:31:42 2009 +0100
+++ b/src/cm/notifications.py	Wed Nov 25 09:34:10 2009 +0100
@@ -68,4 +68,4 @@
     
     send_mail(subject, message, ApplicationConfiguration['email_from'], [email], fail_silently=True)
     
-    logging.debug("Notification sent [%s] => %s" %(activity,notification.user) if notification.user else "sending (email) %s => %s" %(activity,notification.email))
+    #logging.debug(u"Notification sent [%s] => %s" %(activity,notification.user) if notification.user else u"sending (email) %s => %s" %(activity,notification.email))