From 4e140e14b61bde54fa117a87bbfced4dc28f0bc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Fri, 22 Dec 2017 18:29:23 +0100 Subject: [PATCH] =?UTF-8?q?fix=20error=20500=20in=20route=E2=80=A6=20still?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/c3nav/routing/route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/routing/route.py b/src/c3nav/routing/route.py index e70417db..80e128cc 100644 --- a/src/c3nav/routing/route.py +++ b/src/c3nav/routing/route.py @@ -98,7 +98,7 @@ class Route: if description is None: description = current_space.leave_descriptions.get(next_space.pk, None) if description is None: - description = item.space.enter_description or None + description = str(item.space.enter_description) or None if description is None: description = _('Go to %(space_title)s.') % {'space_title': item.space.title}