From fdef8a62fd5c9ffa3592cc34903354ddf9c2debc Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 28 May 2025 11:32:08 +0200 Subject: [PATCH] Fix dep warning --- changedetectionio/model/Watch.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/changedetectionio/model/Watch.py b/changedetectionio/model/Watch.py index 18dde9249..c2a8b9f57 100644 --- a/changedetectionio/model/Watch.py +++ b/changedetectionio/model/Watch.py @@ -663,9 +663,8 @@ class model(watch_base): def compile_error_texts(self, has_proxies=None): """Compile error texts for this watch. Accepts has_proxies parameter to ensure it works even outside app context""" - from flask import ( - Markup, url_for - ) + from flask import url_for + from markupsafe import Markup output = [] # Initialize as list since we're using append last_error = self.get('last_error','')