busroute.py

changeset 92
16a5c37e4e67
parent 91
209f5930d038
child 94
e27c18f080d1
--- a/busroute.py	Fri Apr 20 13:50:02 2018 +0300
+++ b/busroute.py	Tue Apr 24 23:21:34 2018 +0300
@@ -19,9 +19,9 @@
 def greatly_simplify_name(region_name):
 	region = regions.get(region_name)
 	if region:
-		if 'greater_-replacement' in region:
+		if 'greater_replacement' in region:
 			return simplify_name(region['greater_replacement'])
-		elif 'replacement' in region:
+		if 'replacement' in region:
 			return simplify_name(region['replacement'])
 		else:
 			return simplify_name(region_name)

mercurial