From 3bc248fe076e70f042f105dfef0f7547e496b83c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 30 Oct 2022 00:19:01 +0200 Subject: [PATCH] fix small bug in /live --- files/routes/static.py | 1 - files/templates/live.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/files/routes/static.py b/files/routes/static.py index 844e4b267..9c3e143ea 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -485,7 +485,6 @@ if SITE == 'pcmemes.net': minutes = quantity * modifier actual = f'{quantity} {unit}' - if quantity > 1: actual += 's' else: minutes = 9999999999 actual = '???' diff --git a/files/templates/live.html b/files/templates/live.html index 3d348aeb2..93927e7c8 100644 --- a/files/templates/live.html +++ b/files/templates/live.html @@ -80,7 +80,7 @@ {{name}} thumbnail {{name}} - {{actual}} ago + {{actual}} {{views}} views {% if v and v.admin_level >= PERMS['STREAMERS_MODERATION'] %}