소스 검색

Actually did the checks properly now.

master
Trey Del Bonis 2 년 전
부모
커밋
6a4acc6ae7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      main.py

+ 2
- 2
main.py 파일 보기

@@ -158,8 +158,8 @@ def filter_posts(config, posts, filt):
filt = set(filt)
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:
ok.append(p)
else:

Loading…
취소
저장