From e4756eb639195b770678b375eeb673dc85accc61 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 25 Jul 2023 00:26:15 +0200 Subject: [PATCH] Replaced deprecated `flask.escape` with `markupsafe.escape`. --- platypush/backend/http/app/routes/plugins/spotify.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platypush/backend/http/app/routes/plugins/spotify.py b/platypush/backend/http/app/routes/plugins/spotify.py index 3eade50e0e..23195a70d3 100644 --- a/platypush/backend/http/app/routes/plugins/spotify.py +++ b/platypush/backend/http/app/routes/plugins/spotify.py @@ -1,6 +1,7 @@ import json -from flask import abort, request, Response, Blueprint, escape +from flask import abort, request, Response, Blueprint +from markupsafe import escape from platypush.backend.http.app import template_folder from platypush.common.spotify import SpotifyMixin