Fix check for faulty channel identifier not working

This commit is contained in:
metalune 2021-07-31 12:12:35 +02:00
parent c56dbd0f38
commit a624de1ec3

View file

@ -222,7 +222,7 @@ def get_subscriptions_channels_videos(limit=12):
latest = []
for sub in get_subscriptions_channels():
result = get_latest_channel_videos(sub)
if result["status"] == 200:
if "error" not in result:
channel_latest = get_latest_channel_videos(sub)["data"]
latest.extend(channel_latest)
else: