fixing thing that i broke

This commit is contained in:
Szymon Andrzejewski authored and GitHub committed 2025-02-19 07:30:29 +01:00
1 parent 63c42b9854
commit cd53fbf2f5
1 file changed
+1 -1
+1 -1
View File
@@ -760,7 +760,7 @@ class SpotifyPKCE(SpotifyAuthBase):
"Use a loopback IP address such as 127.0.0.1 " "Use a loopback IP address such as 127.0.0.1 "
"to ensure your app remains functional.") "to ensure your app remains functional.")
if redirect_info.scheme == "http" and not redirect_host not in ("127.0.0.1", "localhost"): if redirect_info.scheme == "http" and redirect_host not in ("127.0.0.1", "localhost"):
logger.warning( logger.warning(
"Redirect URIs using HTTP are being deprecated. " "Redirect URIs using HTTP are being deprecated. "
"To ensure your app remains functional, use HTTPS instead.") "To ensure your app remains functional, use HTTPS instead.")