From cdddc00d548f6ed9087689e6179b279e25f455f7 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Mon, 23 Jul 2012 22:59:31 +0200 Subject: [PATCH] Improved else block. --- openslides/utils/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/utils/views.py b/openslides/utils/views.py index 84d7854bc..0c3667025 100644 --- a/openslides/utils/views.py +++ b/openslides/utils/views.py @@ -270,7 +270,7 @@ class PDFView(PermissionMixin, View): if self.document_title: return unicode(self.document_title) else: - return self.document_title + return '' def get_filename(self): return self.filename