Skip to content
Snippets Groups Projects
Commit 6539261f authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] Once more...

parent 705c586d
No related branches found
No related tags found
No related merge requests found
......@@ -213,9 +213,9 @@ async def append_statistics_to_post(post, row, is_pinned, observer=None, context
post['blacklists'].append(blacklists_for_user[row['author']])
reputation = int(row['author_rep'])
if reputation < 1:
post['blacklists'].extend('reputation-0')
post['blacklists'].append('reputation-0')
elif reputation == 1:
post['blacklists'].extend('reputation-1')
post['blacklists'].append('reputation-1')
if 'community_title' in row and row['community_title']:
post['community'] = row['category']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment