Fix reference to old data file.

Closes #1513.
This commit is contained in:
Hermann Kraus 2012-10-06 00:40:54 +02:00
parent c5e69022cd
commit c739dc2133

View file

@ -71,7 +71,7 @@ m.append_style('Style', style)
layer = mapnik.Layer('Layer')
layer.datasource = mapnik.Shapefile(file=os.path.join(dirname,"data/points.shp"))
layer.datasource = mapnik.Osm(file=os.path.join(dirname,"data/points.osm"))
layer.styles.append('Style')
m.layers.append(layer)