From d9a57cf20183b7bf68324d793039085eb542804c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 1 Oct 2022 01:38:07 +0200 Subject: [PATCH] debug /live --- files/routes/static.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index ab8a0de62..a8557a070 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -500,7 +500,10 @@ if SITE == 'pcmemes.net': unit = 'year' modifier = 525600 - minutes = quantity * modifier + try: minutes = quantity * modifier + except: + print(unit, flush=True) + return None actual = f'{quantity} {unit}' if quantity > 1: actual += 's'