Skip to content

Commit

Permalink
Merge pull request #1069 from democat3457/patch-1
Browse files Browse the repository at this point in the history
Fix unused description parameter in playlist creation example
  • Loading branch information
dieser-niko committed May 14, 2024
2 parents 23bf3c9 + d9a5f00 commit 160a57a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improve usability on README.md
- Fix `user_playlists_contents` example.

### Fixed
- Fixed unused description parameter in playlist creation example

## [2.23.0] - 2023-04-07

### Added
Expand Down
2 changes: 1 addition & 1 deletion examples/create_playlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def main():
scope = "playlist-modify-public"
sp = spotipy.Spotify(auth_manager=SpotifyOAuth(scope=scope))
user_id = sp.me()['id']
sp.user_playlist_create(user_id, args.playlist)
sp.user_playlist_create(user_id, args.playlist, description=args.description)


if __name__ == '__main__':
Expand Down

0 comments on commit 160a57a

Please sign in to comment.