Pārlūkot izejas kodu

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

pull/24/head
Ben Kurtovic pirms 11 gadiem
vecāks
revīzija
3ebe5c92d4
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      pages/settings.mako

+ 2
- 2
pages/settings.mako Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt