mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
Merge pull request #1069 from democat3457/patch-1
Fix unused description parameter in playlist creation example
This commit is contained in:
commit
160a57a1d6
@ -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
|
||||
|
||||
@ -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__':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user