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
1 changed files with 1 additions and 1 deletions

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)