forked from rDrama/rDrama
1
0
Fork 0
master
Aevann 2023-12-25 02:06:22 +02:00
parent 602fd7e98c
commit d7d135ad8e
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='
if SITE_NAME == 'WPD' and sort == "hot" and hole == None:
posts = posts.limit(200).all()
to_remove = [x.id for x in posts if x.hole in LIMITED_WPD_HOLES][1:]
to_remove = [x.id for x in posts if x.hole in LIMITED_WPD_HOLES][3:]
posts = [x for x in posts if x.id not in to_remove][:size]
elif SITE_NAME == 'WPD' and not v and hole == None:
posts = posts.limit(200).all()