From 9fe2bc45334df02e9f10c310cb8455f9dae010fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Tue, 12 Dec 2017 20:31:33 +0100 Subject: [PATCH] set next_item, otherwise it won't work --- src/c3nav/routing/route.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/c3nav/routing/route.py b/src/c3nav/routing/route.py index 4a67c656..daa586e6 100644 --- a/src/c3nav/routing/route.py +++ b/src/c3nav/routing/route.py @@ -69,6 +69,7 @@ class Route: item.descriptions.append((icon, item.waytype.description)) elif item.new_space: pass # todo: custom space transition descriptions + next_item = item items[-1].descriptions.append(('done', _('You have reached your destination.')))