From: Gaël Utard <[email protected]> In settings_local.py, OCITYSMAP_CFG_PATH is set to None by default and render.py put this value in a list before passing it to OCitySMap constructor that compares it with None, not a list with a None item.
Signed-off-by: Gaël Utard <[email protected]> --- scripts/render.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/render.py b/scripts/render.py index 39de1b6..e0c829e 100755 --- a/scripts/render.py +++ b/scripts/render.py @@ -149,7 +149,7 @@ class JobRenderer(threading.Thread): l.info("Rendering job #%d '%s'..." % (self.job.id, self.job.maptitle)) try: - renderer = OCitySMap([OCITYSMAP_CFG_PATH], self.prefix) + renderer = OCitySMap(OCITYSMAP_CFG_PATH, self.prefix) config = RenderingConfiguration() config.title = self.job.maptitle config.osmid = self.job.administrative_osmid -- 1.7.0.4
