diff --git a/printing/templates/templates.py b/printing/templates/templates.py index 3c723ef..4b5dd46 100644 --- a/printing/templates/templates.py +++ b/printing/templates/templates.py @@ -98,7 +98,9 @@ def template(dialog=False): oldstyle = style oldtableau = tableau newTableau = lambda *args,**kwargs: oldtableau(*args,dialog=dialog,**kwargs) + tableau = newTableau newStyle = lambda *args,**kwargs:oldstyle(*args,dialog=dialog,**kwargs) + style = newStyle template_path = '/usr/scripts/lc_ldap/printing/templates/' templateLoader = jinja2.FileSystemLoader( searchpath=["/", template_path] ) templateEnv = jinja2.Environment( loader=templateLoader, trim_blocks=True )