Skip to content

Commit

Permalink
fixed bug with publish at
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnekaunisto committed Jul 2, 2019
1 parent 3e373a7 commit af415b9
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 @@ -158,7 +158,7 @@ def generate_upload_body(video):
if video.public_stats_viewable is not None:
status.update({"publicStatsViewable": video.public_stats_viewable})
if video.publish_at is not None:
status.update({"publishAt": video.embeddable})
status.update({"publishAt": video.publish_at})
body.update({"status": status})

return body
Expand Down

0 comments on commit af415b9

Please sign in to comment.