--- 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)