remotes/1693045480750635534/spooky-22
Aevann1 2021-08-06 14:39:24 +02:00
parent fe16d45145
commit cba234083b
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ def frontlist(v=None, sort="hot", page=1,t="all", ids_only=True, filter_words=''
elif sort == "top":
time1 = time.time()
posts = sorted(posts.all(), key=lambda x: x.score, reverse=True)
print("list +"time.time() - time1)
print("list " + time.time() - time1)
elif sort == "bottom":
time1 = time.time()
posts = posts.order_by(Submission.sexscore.desc()).all()