Skip to content

Commit

Permalink
Fixed bug with uploading to playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnekaunisto committed Sep 23, 2020
1 parent 0d4c4f7 commit 0509249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple_youtube_api/Channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0509249

Please sign in to comment.