Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #800 from akatsoulas/voting-comment-fix
Browse files Browse the repository at this point in the history
[bug 1026962] Update comment msg from remobot.
  • Loading branch information
akatsoulas committed Aug 7, 2014
2 parents 1b5f2b5 + 89e3459 commit 08fb03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remo/voting/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def save(self, *args, **kwargs):
poll = radio_poll_choice.radio_poll.poll
if poll.automated_poll and self.user:
commenter = User.objects.get(username='remobot')
comment = 'User **{0}** voted: **{1}**'.format(
comment = '**{0}** voted: **{1}**'.format(
self.user, radio_poll_choice.answer)
PollComment.objects.create(poll=poll, user=commenter,
comment=comment)
Expand Down

0 comments on commit 08fb03d

Please sign in to comment.