Jsonencode namespace options. fix #514

This commit is contained in:
Ruud
2012-06-30 13:31:21 +02:00
parent 75bf561f5f
commit 9200912767
+1 -1
View File
@@ -89,7 +89,7 @@
App.setup({
'base_url': {{ url_for('web.index')|tojson|safe }},
'args': {{ env.get('args')|tojson|safe }},
'options': "{{ env.get('options')|safe }}",
'options': {{ ('%s' % env.get('options'))|tojson|safe }},
'app_dir': {{ env.get('app_dir')|tojson|safe }},
'data_dir': {{ env.get('data_dir')|tojson|safe }},
'pid': {{ env.getPid()|tojson|safe }},