From da27edf9815b88b8e76307177306ddbbe98d8820 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sat, 14 Jan 2017 16:34:55 -0400 Subject: [PATCH] Don't decode the date string of the build. Python3 comptibility. --- mayan/apps/common/templatetags/common_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/common/templatetags/common_tags.py b/mayan/apps/common/templatetags/common_tags.py index 19c408934d..70881111c9 100644 --- a/mayan/apps/common/templatetags/common_tags.py +++ b/mayan/apps/common/templatetags/common_tags.py @@ -92,7 +92,7 @@ def render_subtemplate(context, template_name, template_context): def build(): if BUILD: try: - return '{} {}'.format(BUILD(), DATE().decode()) + return '{} {}'.format(BUILD(), DATE()) except sh.ErrorReturnCode_128: return '' else: