Merge pull request #1829 from ostcar/fix_python
Fix syntaxerror in python
This commit is contained in:
commit
78ec776c3f
@ -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