This commit is contained in:
Giacomo Leidi 2023-10-10 01:11:11 +02:00
parent 5238a3cd18
commit 028590c224
No known key found for this signature in database
GPG Key ID: D075F59A480549C3
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class AbstractEventFormatter(LoggerMixin, ConfLoaderMixin):
else:
template_ref = default_generator()
with importlib.resources.as_file(template_ref) as template_path:
return JINJA_ENV.get_template(template_path)
return JINJA_ENV.get_template(template_path.as_posix())
def get_default_template_path(self, type=""):