fix channel_validate in PlaylistSubscription, #223

This commit is contained in:
simon 2022-05-02 11:27:50 +07:00
parent c4107fc370
commit 6fbac12314
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -168,7 +168,7 @@ class PlaylistSubscription:
def channel_validate(channel_id): def channel_validate(channel_id):
"""make sure channel of playlist is there""" """make sure channel of playlist is there"""
channel = YoutubeChannel(channel_id) channel = YoutubeChannel(channel_id)
channel.build_json() channel.build_json(upload=True)
@staticmethod @staticmethod
def change_subscribe(playlist_id, subscribe_status): def change_subscribe(playlist_id, subscribe_status):