From e9011c55ac39902032c117c93063d057e98eb00f Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 8 May 2021 16:15:40 +0800 Subject: [PATCH] bugfix --- appPublic/myTE.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appPublic/myTE.py b/appPublic/myTE.py index 169b8ff..076b75a 100644 --- a/appPublic/myTE.py +++ b/appPublic/myTE.py @@ -13,7 +13,7 @@ def isNone(obj): 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) class MyTemplateEngine: