bugfix
This commit is contained in:
parent
f4e6ca43f5
commit
e9011c55ac
@ -13,7 +13,7 @@ def isNone(obj):
|
|||||||
|
|
||||||
|
|
||||||
def string_template_render(tmp_string, data):
|
def string_template_render(tmp_string, data):
|
||||||
rtemplate = Environment(loader=BaseLoader()).from_string(myString)
|
rtemplate = Environment(loader=BaseLoader()).from_string(tmp_string)
|
||||||
return rtemplate.render(**data)
|
return rtemplate.render(**data)
|
||||||
|
|
||||||
class MyTemplateEngine:
|
class MyTemplateEngine:
|
||||||
|
Loading…
Reference in New Issue
Block a user