forked from rDrama/rDrama
stop googlebot from running into a 500 error
parent
8d84748c42
commit
b0e6166398
|
@ -39,6 +39,9 @@ def front_all(v, sub=None):
|
|||
sort = request.values.get("sort", defaultsorting)
|
||||
t = request.values.get('t', defaulttime)
|
||||
|
||||
if SITE == 'rdrama.net' and t == 'all' and sort == 'hot' and page > 6000:
|
||||
sort = 'top'
|
||||
|
||||
try: gt = int(request.values.get("after", 0))
|
||||
except: gt = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue