idilsulo / change-the-way-you-listen

Web app for custom Spotify playlists based on track audio properties such as danceability, energy, tempo & your personal Spotify listening analysis

Home Page:http://www.changethewayyoulisten.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Key Error in config

Rishita332 opened this issue · comments

if development:
    return config['DEV']
else:
   return config['PROD']

What do you mean by DEV and PROD? They are causing Key error

Hi @Rishita332!

Thanks a lot for your issue & sorry for the late reply.

The problem is not regarding the arguments file but a configuration file named config.ini which you should provide with your Spotify API credentials.

I updated the README for details on how to setup & run the web app and provided a sample config.ini file which can be found under web-app/. You can provide your Spotify Client ID & Secret there.

Hope this helps!