Signed-off-by: Thomas Petazzoni <[email protected]>
---
 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