Browse Source

Actually did the checks properly now.

master
Trey Del Bonis 2 years ago
parent
commit
6a4acc6ae7
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      main.py

+ 2
- 2
main.py View File

filt = set(filt) filt = set(filt)
newfilt = set() newfilt = set()


for p in posts:
if len(ok) <= tp and p['score'] >= config['min_score']:
for i, p in enumerate(posts):
if i < tp and p['score'] >= config['min_score']:
if p['rid'] not in filt: if p['rid'] not in filt:
ok.append(p) ok.append(p)
else: else:

Loading…
Cancel
Save