busroute.py

changeset 98
c07a77c8a070
parent 94
e27c18f080d1
--- a/busroute.py	Tue May 01 13:24:33 2018 +0300
+++ b/busroute.py	Fri May 04 21:32:16 2018 +0300
@@ -12,7 +12,7 @@
 def simplify_name(region_name, replace = False):
 	region = regions.get(region_name)
 	if region:
-		if replace and 'replacement' in region and region['replacement'] != region_name:
+		if replace and 'replacement' in region:
 			return simplify_name(region['replacement'])
 		return region.get('short_name', region_name)
 	else:

mercurial