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():
|
if self.filter(user=user, item=item, begin_time=None).exists():
|
||||||
raise OpenSlidesError(
|
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):
|
if isinstance(user, AnonymousUser):
|
||||||
raise OpenSlidesError(
|
raise OpenSlidesError(
|
||||||
_('An anonymous user can not be on lists of speakers.'))
|
_('An anonymous user can not be on lists of speakers.'))
|
||||||
|
Loading…
Reference in New Issue
Block a user