From 9200912767628267c0ae665d70b6de39412658b5 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 30 Jun 2012 13:31:21 +0200 Subject: [PATCH] Jsonencode namespace options. fix #514 --- couchpotato/templates/_desktop.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/templates/_desktop.html b/couchpotato/templates/_desktop.html index 6dcc2c02..f66e3b4c 100644 --- a/couchpotato/templates/_desktop.html +++ b/couchpotato/templates/_desktop.html @@ -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 }},