Removed whitespace in filename of motion pdf (identifier: PrefixNumber).

This commit is contained in:
Emanuel Schuetze 2013-07-07 22:00:10 +02:00
parent aca2570cb7
commit 7e5c3f6a27
1 changed files with 1 additions and 1 deletions

View File

@ -721,7 +721,7 @@ class MotionPDFView(SingleObjectMixin, PDFView):
return _("Motions")
else:
if self.object.identifier:
suffix = self.object.identifier
suffix = self.object.identifier.replace(' ', '')
else:
suffix = self.object.title.replace(' ', '_')
suffix = slugify(suffix)