2
0
mirror of https://github.com/codl/forget synced 2025-01-20 19:11:15 +01:00

oh my god are you serious with this

This commit is contained in:
codl 2017-09-19 01:43:50 +02:00
parent d224edcc58
commit ab085aabf8
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A

View File

@ -186,7 +186,7 @@ def refresh_posts(posts):
MastodonRatelimitError) as e:
if any([
err in str(e)
for err in ('Endpoint not found.', 'Record not found.')]):
for err in ('Endpoint not found', 'Record not found')]):
db.session.delete(post)
else:
raise TemporaryError(e)