regions.py

changeset 109
88a5110b66ba
parent 88
3b86597c5a88
--- a/regions.py	Mon Aug 13 22:56:30 2018 +0300
+++ b/regions.py	Fri Sep 07 00:23:42 2018 +0300
@@ -36,4 +36,6 @@
 			if 'region' in way and 'name' in way:
 				way['priority'] = int(way.get('priority', 1))
 				regions[way['name']] = way
+				if 'external' in way:
+					way['priority'] = -1
 	return regions

mercurial