From f63fc5ec3a478e5d918f298377dbeac31fff5311 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 18 Feb 2024 16:50:29 +0800 Subject: [PATCH] bugfix --- ahserver/myTE.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ahserver/myTE.py b/ahserver/myTE.py index ca8e854..8f57c28 100755 --- a/ahserver/myTE.py +++ b/ahserver/myTE.py @@ -19,6 +19,7 @@ class TmplLoader(BaseLoader, TmplUrl2File): fp = self.url2file(template) 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: