Fixed wrong conditional in soc/views/models/club_app.py.
authorLennard de Rijk <ljvderijk@gmail.com>
Thu, 22 Jan 2009 00:07:36 +0000
changeset 897 6ba5bf4b3fea
parent 896 445f3e8a44d9
child 898 adf5b7e98dcf
Fixed wrong conditional in soc/views/models/club_app.py. Notifications will now be send again. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/models/club_app.py
--- a/app/soc/views/models/club_app.py	Thu Jan 22 00:03:28 2009 +0000
+++ b/app/soc/views/models/club_app.py	Thu Jan 22 00:07:36 2009 +0000
@@ -259,7 +259,7 @@
 
         self._logic.updateModelProperties(entity, fields)
         
-        if status_value is 'accepted':
+        if status_value == 'accepted':
           # the application has been accepted send out a notification
           notifications.sendNewClubNotification(entity)