From 7b8d335c433e55fcb4ce2c1b3c596e02dbd67e3b Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 28 May 2025 14:11:11 +0200 Subject: [PATCH] Code - Fix dep warning (#3221) --- 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','')