[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH] Fix a bug with ocitysmap config path.

From: gael . utard
Subject: [Maposmatic-dev] [PATCH] Fix a bug with ocitysmap config path.
Date: Sun, 8 Aug 2010 12:01:13 +0200

From: Gaël Utard <address@hidden>

In, OCITYSMAP_CFG_PATH is set to None by default
and 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 <address@hidden>
 scripts/ |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/ b/scripts/
index 39de1b6..e0c829e 100755
--- a/scripts/
+++ b/scripts/
@@ -149,7 +149,7 @@ class JobRenderer(threading.Thread):"Rendering job #%d '%s'..." % (, self.job.maptitle))
-            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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]