Fix syntaxerror in python
This commit is contained in:
parent
f3fcb74aec
commit
dc80efeee9
@ -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.'))
|
||||
|
Loading…
Reference in New Issue
Block a user