From b0d1b1f157964409483bc567d0b06da5d728d613 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 23 Sep 2022 23:09:19 +0200 Subject: [PATCH] fix /live ordering --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index d0c8344f4..f007109f8 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -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