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 urllib2
import socket import socket
import os import os
import genshi
import genshi.template import genshi.template
loader = genshi.template.TemplateLoader( 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 file is part of seurvalencia. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms. #this repository contains the full copyright notices and license terms.
from seurvalencia.api import API from seurvalencia.api import API
from xml.dom.minidom import parseString from xml.dom.minidom import parseString
import os import os
import base64 import base64
import genshi from genshi import template
import genshi.template
loader = genshi.template.TemplateLoader( loader = template.TemplateLoader(
os.path.join(os.path.dirname(__file__), 'template'), os.path.join(os.path.dirname(__file__), 'template'),
auto_reload=True) auto_reload=True)