0

world: fix those pesky poi warnings

This commit is contained in:
Nicolas F
2019-07-06 21:24:58 +02:00
parent 204bcd0310
commit 0b4ad361c3

View File

@@ -134,7 +134,7 @@ class World(object):
if mcas:
# construct a regionset object for this
rel = os.path.relpath(root, self.worlddir)
if rel != "poi":
if os.path.basename(rel) != "poi":
rset = RegionSet(root, rel)
if root == os.path.join(self.worlddir, "region"):
self.regionsets.insert(0, rset)