summaryrefslogtreecommitdiffstats
path: root/forum/models/user.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-05-31 22:31:20 -0700
committerfadeev <fadeev@bacchus.bio.uci.edu>2010-05-31 22:32:25 -0700
commit5dfebd5164518572b9f1c9822990ee476854304d (patch)
tree59367e36177a8bfe58e0ff59453cb4ec1c6b334e /forum/models/user.py
parentf5cd9612ec2d58d3f2da218a254ad011052b46ce (diff)
downloadaskbot-5dfebd5164518572b9f1c9822990ee476854304d.tar.gz
askbot-5dfebd5164518572b9f1c9822990ee476854304d.tar.bz2
askbot-5dfebd5164518572b9f1c9822990ee476854304d.zip
fixed some bugs in comment posting and made progress in instant notifications
Diffstat (limited to 'forum/models/user.py')
-rw-r--r--forum/models/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/models/user.py b/forum/models/user.py
index c6f95505..c05d911b 100644
--- a/forum/models/user.py
+++ b/forum/models/user.py
@@ -159,7 +159,7 @@ class EmailFeedSettingManager(models.Manager):
for feed in feeds:
if feed.feed_type == 'm_and_c':
- if post.__clas__.__name__ == 'Comment':#isinstance(post, Comment):
+ if post.__class__.__name__ == 'Comment':#isinstance(post, Comment):
return True
else:
if subscriber in newly_mentioned_users: