Explorar el Código

Write cookies before page generation, so changes take effect immediately.

pull/24/head
Ben Kurtovic hace 11 años
padre
commit
3ebe5c92d4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      pages/settings.mako

+ 2
- 2
pages/settings.mako Ver fichero

@@ -1,7 +1,7 @@
<%include file="/support/header.mako" args="environ=environ, cookies=cookies, title='Settings - Earwig\'s Copyvio Detector'"/>\
<%namespace module="copyvios.settings" import="main"/>\
<%! from json import dumps, loads %>\
<% bot, status, langs, projects = main(environ, headers, cookies) %>\
<%include file="/support/header.mako" args="environ=environ, cookies=cookies, title='Settings - Earwig\'s Copyvio Detector'"/>\
<%! from json import dumps, loads %>\
% if status:
<div class="green-box">
<p>${status}</p>


Cargando…
Cancelar
Guardar