docs: fix simple typo, retrival -> retrieval (#629)

There is a small typo in spotipy/oauth2.py.

Should read `retrieval` rather than `retrival`.
This commit is contained in:
Tim Gates 2020-12-26 18:47:11 +11:00 committed by GitHub
parent 3ae3d8cab1
commit 44970c3348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1113,7 +1113,7 @@ class SpotifyImplicitGrant(SpotifyAuthBase):
redirect_host, redirect_port = get_host_port(redirect_info.netloc) redirect_host, redirect_port = get_host_port(redirect_info.netloc)
# Implicit Grant tokens are returned in a hash fragment # Implicit Grant tokens are returned in a hash fragment
# which is only available to the browser. Therefore, interactive # which is only available to the browser. Therefore, interactive
# URL retrival is required. # URL retrieval is required.
if (redirect_host in ("127.0.0.1", "localhost") if (redirect_host in ("127.0.0.1", "localhost")
and redirect_info.scheme == "http" and redirect_port): and redirect_info.scheme == "http" and redirect_port):
logger.warning('Using a local redirect URI with a ' logger.warning('Using a local redirect URI with a '