forked from rDrama/rDrama
1
0
Fork 0

fix pagesize on wpd

master
Aevann 2023-05-01 23:15:13 +03:00
parent d5f9e5ce01
commit 1f62c63cf4
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='
for h in LIMITED_WPD_HOLES:
to_remove += [x.id for x in posts if x.sub == h][1:]
posts = [x for x in posts if x.id not in to_remove]
posts = [x for x in posts if x.id not in to_remove][:size]
else:
posts = posts.limit(size).all()