Force strict mode for loading test maps.
This commit is contained in:
parent
2ee899100a
commit
7cb89076b3
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class RenderJob:
|
|||
self.m = mapnik.Map(16, 16)
|
||||
try:
|
||||
start = time()
|
||||
mapnik.load_map(self.m, os.path.join(self.dirname, "styles", "%s.xml" % filename), False)
|
||||
mapnik.load_map(self.m, os.path.join(self.dirname, "styles", "%s.xml" % filename), True)
|
||||
mapnik.save_map(self.m, output)
|
||||
except Exception, e:
|
||||
self.reporting.load_error(filename, repr(e))
|
||||
|
|
Loading…
Add table
Reference in a new issue