diff --git a/pages/settings.mako b/pages/settings.mako index fa0b94f..7685954 100644 --- a/pages/settings.mako +++ b/pages/settings.mako @@ -54,14 +54,13 @@ ${cookie.key | h} % try: <% lines = dumps(loads(cookie.value), indent=4).splitlines() %> - % except ValueError: - ${cookie.value | h} - % else: % for line in lines:
${line | h}
% endfor + % except ValueError: + ${cookie.value | h} % endtry