maposmatic-dev
[Top][All Lists]
Advanced

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

[Maposmatic-dev] [PATCH 1/3] Pass directly the config file path to OCity


From: Thomas Petazzoni
Subject: [Maposmatic-dev] [PATCH 1/3] Pass directly the config file path to OCitySMap constructor
Date: Fri, 6 Aug 2010 15:36:19 +0200

Signed-off-by: Thomas Petazzoni <address@hidden>
---
 www/maposmatic/forms.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/www/maposmatic/forms.py b/www/maposmatic/forms.py
index cd5c664..8166b68 100644
--- a/www/maposmatic/forms.py
+++ b/www/maposmatic/forms.py
@@ -75,7 +75,7 @@ class MapRenderingJobForm(forms.ModelForm):
     def __init__(self, *args, **kwargs):
         super(MapRenderingJobForm, self).__init__(*args, **kwargs)
 
-        o = OCitySMap([www.settings.OCITYSMAP_CFG_PATH])
+        o = OCitySMap(www.settings.OCITYSMAP_CFG_PATH)
 
         layout_renderers = renderers.get_renderers()
         stylesheets = o.get_all_style_configurations()
-- 
1.7.0.4




reply via email to

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