From ffbfc58eb0eaf4288c07844e0e1b900bc6d83fc3 Mon Sep 17 00:00:00 2001 From: hematogender <46577620+hematogender@users.noreply.github.com> Date: Fri, 3 Apr 2020 18:51:09 +0300 Subject: [PATCH] Fix typo on line 30 --- docs/source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index d06a5e7..c635824 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -27,7 +27,7 @@ For a complete documentation of available functions, refer to the :doc:`Referenc ytmusic = YTMusic('headers_auth.json') playlistId = ytmusic.create_playlist("test", "test description") search_results = ytmusic.search("Oasis Wonderwall") - ytmusic.add_playlist_items(playlistId, [search_results[0]['videoId']) + ytmusic.add_playlist_items(playlistId, [search_results[0]['videoId']])