comparison blast2html.py @ 79:9fb1a7d67317 py2.6

remove unneeded encoding parameter
author Jan Kanis <jan.code@jankanis.nl>
date Thu, 19 Jun 2014 16:43:22 +0200
parents c0804e6443c6
children 4378d11f0ed7
comparison
equal deleted inserted replaced
78:c0804e6443c6 79:9fb1a7d67317
243 def __init__(self, input, templatedir, templatename): 243 def __init__(self, input, templatedir, templatename):
244 self.input = input 244 self.input = input
245 self.templatename = templatename 245 self.templatename = templatename
246 246
247 self.blast = objectify.parse(self.input).getroot() 247 self.blast = objectify.parse(self.input).getroot()
248 self.loader = jinja2.FileSystemLoader(searchpath=templatedir, encoding='utf-8') 248 self.loader = jinja2.FileSystemLoader(searchpath=templatedir)
249 self.environment = jinja2.Environment(loader=self.loader, 249 self.environment = jinja2.Environment(loader=self.loader,
250 lstrip_blocks=True, trim_blocks=True, autoescape=True) 250 lstrip_blocks=True, trim_blocks=True, autoescape=True)
251 251
252 self._addfilters(self.environment) 252 self._addfilters(self.environment)
253 253