mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-10-12 09:10:45 +00:00
Merge pull request #1069 from democat3457/patch-1
Fix unused description parameter in playlist creation example
This commit is contained in:
2 files changed
+4
-1
No files matched your search
@@ -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__':
|
||||
|
||||
Reference in new issue
Block a user