mirror of
https://github.com/codl/forget
synced 2025-01-03 18:59:23 +01:00
parent
e9653f34be
commit
1123d44b30
@ -128,8 +128,6 @@ def fetch_acc(acc, cursor=None):
|
||||
kwargs['max_id'] = +inf
|
||||
|
||||
for status in statuses:
|
||||
if 'id' not in status.keys():
|
||||
continue
|
||||
post = post_from_api_object(status, acc.mastodon_instance)
|
||||
db.session.merge(post)
|
||||
kwargs['max_id'] = min(kwargs['max_id'], post.mastodon_id)
|
||||
|
Loading…
Reference in New Issue
Block a user