This commit is contained in:
Aevann1 2022-05-01 23:44:38 +02:00
parent de062c025d
commit 709a7fc4b5
31 changed files with 116 additions and 62 deletions

View file

@ -346,7 +346,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, ccmode="false"
posts = posts.join(User, User.id == Submission.author_id).filter(User.shadowbanned == None)
if request.host == 'rdrama.net': num = 5
else: num = 0.1
else: num = 0.5
if sort == "hot":
ti = int(time.time()) + 3600