changeset 115:a8613e4c51dc

call __init__ correctly
author Jeff Hammel <k0scist@gmail.com>
date Wed, 28 Aug 2024 08:30:14 -0700
parents 5099d45c7730
children eac2c03c40ee
files decoupage/web.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/decoupage/web.py	Mon Jun 03 09:29:38 2024 -0700
+++ b/decoupage/web.py	Wed Aug 28 08:30:14 2024 -0700
@@ -245,7 +245,7 @@
                         if template in os.listdir(_directory):
                             break
                     else:
-                        raise TemplateNotFound("template %s not found" % template)
+                        raise TemplateNotFound("template %s not found" % template, self.loader.search_path)
 
         # extend template `search_path` to include local directory
         self.loader.search_path.insert(0, directory)