From d60c44a03cd696f62368d48f8540397e3be9cb38 Mon Sep 17 00:00:00 2001 From: Holly Date: Wed, 10 Mar 2021 03:02:24 +0000 Subject: [PATCH] fix bug that caused it to ignore all boosts, and all statuses that were not boosts --- mtgcardlookup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtgcardlookup.py b/mtgcardlookup.py index 0067edb..fbf5d7a 100755 --- a/mtgcardlookup.py +++ b/mtgcardlookup.py @@ -174,7 +174,7 @@ async def listen(c, me): if 'status' in status: continue # Don't activate on boosts at all - if 'reblog' in status: continue + if 'reblog' in status and status['reblog'] is not None: continue status_id = status['id'] status_author = '@' + status['account']['acct']