Import template from genshi

This commit is contained in:
Raimon Esteve 2018-03-09 12:57:15 +01:00
parent 86c4ae9405
commit aa4cc7df1d
2 changed files with 2 additions and 6 deletions

View File

@ -5,7 +5,6 @@ from xml.dom.minidom import parseString
import urllib2
import socket
import os
import genshi
import genshi.template
loader = genshi.template.TemplateLoader(

View File

@ -1,15 +1,12 @@
#This file is part of seurvalencia. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
from seurvalencia.api import API
from xml.dom.minidom import parseString
import os
import base64
import genshi
import genshi.template
from genshi import template
loader = genshi.template.TemplateLoader(
loader = template.TemplateLoader(
os.path.join(os.path.dirname(__file__), 'template'),
auto_reload=True)