riverscuomo / spotkin_server

A python package that updates one or more of your Spotify playlists every day with a random selection of songs from any playlists you specify. Here's mine: https://open.spotify.com/playlist/1HaQfSGjNzIsiC5qOsCUcW?si=ddc16d3e9524410c . This repo also contains the backend server for Spotkin webapp.
GNU General Public License v3.0
82 stars 9 forks source link

Fix misspelled/mismatched environment variable names #26

Closed R055A closed 2 months ago

R055A commented 2 months ago

Fixes #25

Fix misspelling of environment variable names in the source code, or mismatch with the names in the README.md instructions.

Before

At line 20 in spotkin.py:

client_secret = os.getenv('SPOTIPY_CLIENT_SECRET')`

At lines 23 and 24 in scripts/api.py

CLIENT_SECRET = os.getenv("SPOTIPY_CLIENT_SECRET")
SPOTIPY_REDIRECT_URL = os.getenv("SPOTIPY_REDIRECT_URL")

After

At line 20 in spotkin.py:

client_secret = os.getenv('SPOTIFY_CLIENT_SECRET')`

At lines 23 and 24 in scripts/api.py

CLIENT_SECRET = os.getenv("SPOTIFY_CLIENT_SECRET")
SPOTIPY_REDIRECT_URL = os.getenv("SPOTIFY_REDIRECT_URL")