Browse Source

Fix bug in rating system.

Caused posting comments multiple times if the user added a comment and then
rated the release or used one of the other reporting functions after adding the comment.
pull/135/head
shypike 11 years ago
parent
commit
e90ff0eeb7
  1. 2
      sabnzbd/rating.py

2
sabnzbd/rating.py

@ -252,7 +252,7 @@ class Rating(Thread):
_warn('Ratings server failed to process request (%s, %s)' % (response.status, response.reason))
return False
rating.changed = 0
self.ratings[indexer_id].changed = self.ratings[indexer_id].changed & ~rating.changed
_reset_warn()
return True
except:

Loading…
Cancel
Save