diff --git a/files/helpers/offsitementions.py b/files/helpers/offsitementions.py index 18f91f014..f3f696139 100644 --- a/files/helpers/offsitementions.py +++ b/files/helpers/offsitementions.py @@ -42,7 +42,7 @@ def get_mentions(cache, queries, reddit_notifs_users=False): if not thing.get('permalink'): continue - if thing['subreddit_subscribers'] < 2: continue + if thing.get('subreddit_subscribers') and thing['subreddit_subscribers'] < 2: continue if thing['subreddit'] in {'IAmA', 'PokemonGoRaids', 'SubSimulatorGPT2', 'SubSimGPT2Interactive'}: continue if 'bot' in thing['author'].lower(): continue if 'AutoModerator' == thing['author']: continue