inveniosoftware / invenio-previewer

Invenio module for previewing files.
https://invenio-previewer.readthedocs.io
MIT License
5 stars 60 forks source link

config: fix extract messages err #164

Closed Samk13 closed 2 years ago

Samk13 commented 2 years ago

:heart: Thank you for your contribution!

Description

Fix err AttributeError: module 'jinja2.ext' has no attribute 'autoescape' when extract messages for translation

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Third-party code

If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.