diff --git a/openslides/motion/views.py b/openslides/motion/views.py index 3f157af7c..1d16c97e3 100644 --- a/openslides/motion/views.py +++ b/openslides/motion/views.py @@ -580,8 +580,8 @@ class MotionSetStateView(SingleObjectMixin, RedirectView): self.object.write_log( message_list=[ugettext_noop('State changed to '), self.object.state.name], person=self.request.user) - messages.success(request, _('The state of the motion was set to %s.') - % html_strong(_(self.object.state.name))) + messages.success(request, + _('The state of the motion was set to %s.') % html_strong(_(self.object.state.name))) set_state = MotionSetStateView.as_view() reset_state = MotionSetStateView.as_view(reset=True)