diff libervia/backend/tools/common/data_objects.py @ 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 4b842c1fb686
children 11e802089b19
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