From 05092493e4963da307c82060f8a4181b0a63db73 Mon Sep 17 00:00:00 2001 From: Jonne Kaunisto Date: Tue, 22 Sep 2020 19:53:32 -0700 Subject: [PATCH] Fixed bug with uploading to playlist --- simple_youtube_api/Channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple_youtube_api/Channel.py b/simple_youtube_api/Channel.py index 9a54b4f..490a59a 100644 --- a/simple_youtube_api/Channel.py +++ b/simple_youtube_api/Channel.py @@ -143,7 +143,7 @@ def upload_video(self, video: LocalVideo): self.set_video_thumbnail(youtube_video, video.thumbnail_path) if video.playlist_id is not None: - self.add_video_to_playlist(video.playlist_id, video) + self.add_video_to_playlist(video.playlist_id, youtube_video) return youtube_video