Merge pull request #4478 from FinnStutzenstein/AmendmentNumbering

Fix blanks for amendments
This commit is contained in:
Emanuel Schütze 2019-03-08 11:27:42 +01:00 committed by GitHub
commit 16b6c814cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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