Fix small error

This commit is contained in:
pluja 2021-03-12 20:49:10 +01:00
parent d0aa476f70
commit 913506df59

View File

@ -370,7 +370,7 @@ def followYoutubeChannel(channelId):
try: try:
try: try:
if not current_user.is_following_yt(channelId): if not current_user.is_following_yt(channelId):
channelData = ytch.get_channel_tab_info(channelId, tab='about') channelData = ytch.get_channel_tab(channelId, tab='about')
if channelData == False: if channelData == False:
return False return False
follow = youtubeFollow() follow = youtubeFollow()