Bladeren bron

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

pull/24/head
Ben Kurtovic 11 jaren geleden
bovenliggende
commit
3ebe5c92d4
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +2
    -2
      pages/settings.mako

+ 2
- 2
pages/settings.mako Bestand weergeven

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


Laden…
Annuleren
Opslaan