diff --git a/src/warc2zim/converter.py b/src/warc2zim/converter.py index 308ab1dc..33c275f4 100644 --- a/src/warc2zim/converter.py +++ b/src/warc2zim/converter.py @@ -142,8 +142,12 @@ def __init__(self, args): def init_env(self): # autoescape=False to allow injecting html entities from translated text + + # We don't have any files in templates directory. + # So `templates` directory doesn't exist and pkg_resources complains about that. + # Comment this part until we readd new file in `templates` directory env = Environment( - loader=PackageLoader("warc2zim", "templates"), + #loader=PackageLoader("warc2zim", "templates"), extensions=["jinja2.ext.i18n"], autoescape=False, )