mirror of
https://github.com/NaN-tic/python-seurvalencia.git
synced 2023-12-14 05:43:00 +01:00
Import template from genshi
This commit is contained in:
parent
86c4ae9405
commit
aa4cc7df1d
2 changed files with 2 additions and 6 deletions
|
@ -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(
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue