forked from rDrama/rDrama
sfd\
parent
5eb6491e25
commit
60481a175b
|
@ -345,7 +345,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)
|
posts = posts.join(User, User.id == Submission.author_id).filter(User.shadowbanned == None)
|
||||||
|
|
||||||
if request.host == 'rdrama.net': num = 5
|
if request.host == 'rdrama.net': num = 5
|
||||||
else: num = 0.5
|
else: num = 1
|
||||||
|
|
||||||
if sort == "hot":
|
if sort == "hot":
|
||||||
ti = int(time.time()) + 3600
|
ti = int(time.time()) + 3600
|
||||||
|
|
Loading…
Reference in New Issue