fix /live ordering

master
Aevann1 2022-09-23 23:09:19 +02:00
parent 1e12a5ddc1
commit b0d1b1f157
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ if SITE == 'pcmemes.net':
try: offline.append((x, req.url.rstrip('/live'), y.group(2), y.group(1)))
except: print(x)
live = sorted(live, key=lambda x: x[4], reverse=True)
live = sorted(live, key=lambda x: x[5], reverse=True)
return live, offline