Commits

Simone Marzola  committed 8ab8633

ops: forgot to remove transaction.begin

  • Participants
  • Parent commits 8c5406f

Comments (0)

Files changed (1)

File tgcomments/controllers/root.py

                'value':Int(not_empty=True)},
               error_handler=fail_with(403))
     def vote(self, comment, value):
-        transaction.begin()
         user = request.identity['user']
         vote = DBSession.query(CommentVote).filter_by(comment=comment, user=user).first()
         if vote is None: