From 8db89217eb7291b354b0734b1553ed4fc830f0c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sat, 23 Dec 2017 03:09:44 +0100 Subject: [PATCH] =?UTF-8?q?don=C3=83't=20add=20space=20transfer=20descript?= =?UTF-8?q?ion=20after=20waytype=20description?= 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 beebaf33..23a260cb 100644 --- a/src/c3nav/routing/route.py +++ b/src/c3nav/routing/route.py @@ -106,7 +106,7 @@ class Route: for item in items: if item.new_space: next_space = item.space - if item.last_item: + if item.last_item and not item.descriptions: description = None if last_space: description = current_space.cross_descriptions.get((last_space.pk, next_space.pk), None)