diff --git a/templates/index.mako b/templates/index.mako index 42d4b71..2d5f77e 100644 --- a/templates/index.mako +++ b/templates/index.mako @@ -1,6 +1,8 @@ -<%! from flask import g, request %>\ +<%! + from flask import g, request + from copyvios.checker import T_POSSIBLE, T_SUSPECT +%>\ <%include file="/support/header.mako" args="title='Earwig\'s Copyvio Detector'"/> -<%namespace module="copyvios.checker" import="T_POSSIBLE, T_SUSPECT"/>\ <%namespace module="copyvios.highlighter" import="highlight_delta"/>\ <%namespace module="copyvios.misc" import="httpsfix, urlstrip"/>\ % if query.project and query.lang and (query.title or query.oldid):