From a456113bc7ce023f9268d2c84903018e75a01332 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 18 Feb 2024 16:52:41 +0800 Subject: [PATCH] bugfix --- ahserver/myTE.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahserver/myTE.py b/ahserver/myTE.py index 8f57c28..d0c2af1 100755 --- a/ahserver/myTE.py +++ b/ahserver/myTE.py @@ -18,8 +18,8 @@ class TmplLoader(BaseLoader, TmplUrl2File): coding = config.website.coding fp = self.url2file(template) + print(f'{template=} can not transfer to filename') if not os.path.isfile(fp): - print(f'{template=} can not transfer to filename') raise TemplateNotFound(template) mtime = os.path.getmtime(fp) with codecs.open(fp,'r',coding) as f: