Fundraising in PDF.
[wolnelektury.git] / src / reporting / templatetags / reporting_stats.py
old mode 100755 (executable)
new mode 100644 (file)
index ef91aed..bca84f1
@@ -1,5 +1,5 @@
-# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
 #
 from functools import wraps
 from django import template
@@ -19,7 +19,7 @@ class StatsNode(template.Node):
             context[self.varname] = self.value
             return ''
         else:
-            return self.value
+            return str(self.value)
 
 
 def register_counter(f):