Fix check for faulty account identifier not working

This commit is contained in:
metalune 2021-07-31 12:11:22 +02:00
parent 726faaa28d
commit c56dbd0f38

View file

@ -154,7 +154,7 @@ def get_subscriptions_accounts_videos(limit=12):
latest = []
for sub in get_subscriptions_accounts():
result = get_latest_account_videos(sub)
if result["status"] == 200:
if "error" not in result:
account_latest = get_latest_account_videos(sub)["data"]
latest.extend(account_latest)
else: