Merge pull request #1829 from ostcar/fix_python

Fix syntaxerror in python
This commit is contained in:
Oskar Hahn 2016-01-10 09:47:40 +01:00
commit 78ec776c3f

View File

@ -302,7 +302,7 @@ class SpeakerManager(models.Manager):
"""
if self.filter(user=user, item=item, begin_time=None).exists():
raise OpenSlidesError(
_('{user} is already on the list of speakers.').format(user=user)
_('{user} is already on the list of speakers.').format(user=user))
if isinstance(user, AnonymousUser):
raise OpenSlidesError(
_('An anonymous user can not be on lists of speakers.'))