Sfoglia il codice sorgente

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

pull/24/head
Ben Kurtovic 11 anni fa
parent
commit
3ebe5c92d4
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      pages/settings.mako

+ 2
- 2
pages/settings.mako Vedi File

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


Caricamento…
Annulla
Salva