From 695fca5d35bc8dd63fa7fa5e18f2cec09ba7e9e4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 25 Sep 2022 06:35:56 +0200 Subject: [PATCH] fix --- files/routes/static.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/routes/static.py b/files/routes/static.py index f44971142..c790d1148 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -463,16 +463,16 @@ if SITE == 'pcmemes.net': quantity = int(y.group(1)) unit = y.group(2) - if unit == 'minuten': + if unit.startswith('minu'): unit = 'minute' modifier = 1 if unit == 'uur': unit = 'hour' modifier = 60 - if unit == 'weken': + if unit.startswith('we'): unit = 'week' modifier = 10080 - elif unit == 'maand': + elif unit.startswith('maand'): unit = 'month' modifier = 43800 elif unit == 'jaar':