Fix blanks for amendments

This commit is contained in:
FinnStutzenstein 2019-03-08 11:05:42 +01:00
parent 70191ce455
commit 138a52d278

View File

@ -342,7 +342,7 @@ class Motion(RESTModelMixin, models.Model):
if self.is_amendment(): if self.is_amendment():
parent_identifier = self.parent.identifier or "" parent_identifier = self.parent.identifier or ""
if without_blank: if without_blank:
prefix = f"{parent_identifier} {config['motions_amendments_prefix']} " prefix = f"{parent_identifier}{config['motions_amendments_prefix']}"
else: else:
prefix = f"{parent_identifier} {config['motions_amendments_prefix']} " prefix = f"{parent_identifier} {config['motions_amendments_prefix']} "
elif self.category is None or not self.category.prefix: elif self.category is None or not self.category.prefix: