Mercurial > libervia-backend
changeset 4087:f8284f994948
tools (common/data_objects): fix import of Markup following change after Jinja2 version bump
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 08 Jun 2023 21:26:09 +0200 |
parents | 479192bc0fa8 |
children | 4325a0f13b0f |
files | libervia/backend/tools/common/data_objects.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/backend/tools/common/data_objects.py Wed Jun 07 22:31:20 2023 +0200 +++ b/libervia/backend/tools/common/data_objects.py Thu Jun 08 21:26:09 2023 +0200 @@ -23,7 +23,7 @@ from os.path import basename try: - from jinja2 import Markup as safe + from markupsafe import Markup as safe except ImportError: safe = str