Some cleanup

This commit is contained in:
ritiek
2018-01-12 21:52:43 +05:30
parent 8c6cc1cc22
commit 621e1eb21e
3 changed files with 7 additions and 9 deletions

View File

@@ -192,11 +192,6 @@ def grab_single(raw_song, number=None):
log.error('No audio streams available')
# token is mandatory when using Spotify's API
# https://developer.spotify.com/news-stories/2017/01/27/removing-unauthenticated-calls-to-the-web-api/
token = spotify_tools.generate_token()
spotify = spotipy.Spotify(auth=token)
if __name__ == '__main__':
const.args = handle.get_arguments()
internals.filter_path(const.args.folder)