Error updating thread fixed.

This commit is contained in:
Tanshu 2013-06-21 15:34:44 +05:30
parent 1bd079ae74
commit eae7220651

View File

@ -107,7 +107,7 @@ def update(request):
if subscriber.user.name not in newSubscribers:
thread.subscribers.remove(subscriber)
else:
newSubscribers.remove(subscriber.name)
newSubscribers.remove(subscriber.user.name)
subscriber.read = False
for j in newSubscribers:
subscriber = Subscriber(user_id=User.by_name(j).id, read=False)