mirror of
https://git.sr.ht/~metalune/simpleweb_peertube
synced 2025-02-13 03:10:43 +01:00
Fix check for faulty account identifier not working
This commit is contained in:
parent
726faaa28d
commit
c56dbd0f38
2
main.py
2
main.py
@ -154,7 +154,7 @@ def get_subscriptions_accounts_videos(limit=12):
|
|||||||
latest = []
|
latest = []
|
||||||
for sub in get_subscriptions_accounts():
|
for sub in get_subscriptions_accounts():
|
||||||
result = get_latest_account_videos(sub)
|
result = get_latest_account_videos(sub)
|
||||||
if result["status"] == 200:
|
if "error" not in result:
|
||||||
account_latest = get_latest_account_videos(sub)["data"]
|
account_latest = get_latest_account_videos(sub)["data"]
|
||||||
latest.extend(account_latest)
|
latest.extend(account_latest)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user