From ab96b32790a7ad89af7f4b615b02fb701f4426c5 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Thu, 8 Sep 2011 09:37:19 +0200 Subject: [PATCH] Fixed: cast to string required. --- openslides/utils/pdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/utils/pdf.py b/openslides/utils/pdf.py index 089303abc..28c5692e3 100755 --- a/openslides/utils/pdf.py +++ b/openslides/utils/pdf.py @@ -185,7 +185,7 @@ event_location = config_get("event_location") event_organizer = config_get("event_organizer") # set print time -time = datetime.now().strftime(_("%Y-%m-%d %H:%Mh")) +time = datetime.now().strftime(str(_("%Y-%m-%d %H:%Mh"))) def firstPage(canvas, doc):