Ver a proveniência

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

pull/24/head
Ben Kurtovic há 11 anos
ascendente
cometimento
3ebe5c92d4
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      pages/settings.mako

+ 2
- 2
pages/settings.mako Ver ficheiro

@@ -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>


Carregando…
Cancelar
Guardar