Code - Fix dep warning (#3221)

pull/3189/merge
dgtlmoon 2025-05-28 14:11:11 +02:00 zatwierdzone przez GitHub
rodzic ba0b6071e6
commit 7b8d335c43
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -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','')