From e5cfe74b1bbce5b1a5e1d480b9bcf9ef6cda90a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Rodrigo?= Date: Fri, 4 Oct 2019 21:49:24 +0200 Subject: [PATCH] Avoid duplicate in Highway_Lanes #560 --- plugins/Highway_Lanes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Highway_Lanes.py b/plugins/Highway_Lanes.py index a7d1c946e..0585518a9 100644 --- a/plugins/Highway_Lanes.py +++ b/plugins/Highway_Lanes.py @@ -72,9 +72,9 @@ def way(self, data, tags, nds): for t in set(tt.split(";")): if t not in ["left", "slight_left", "sharp_left", "through", "right", "slight_right", "sharp_right", "reverse", "merge_to_left", "merge_to_right", "none", ""]: unknown = True - err.append({"class": 31606, "subclass": 0 + stablehash(tl + '|' + tt + '|' + str(i)), "text": T_f(u"Unknown turn lanes value \"{0}\"", t)}) + err.append({"class": 31606, "subclass": 0 + stablehash(tl + '|' + t + '|' + str(i)), "text": T_f(u"Unknown turn lanes value \"{0}\"", t)}) if (t == "merge_to_left" and i == 0) or (t == "merge_to_right" and i == len(ttt) - 1): - err.append({"class": 31600, "subclass": 1 + stablehash(tl + '|' + tt + '|' + str(i))}) + err.append({"class": 31600, "subclass": 1 + stablehash(tl + '|' + t + '|' + str(i))}) i += 1 if not unknown: # merge_to_left is a on the right and vice versa