From 4c3d4ac8ac4a1120c79525a851f64c11dda27646 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 23 Oct 2024 17:37:00 +0300 Subject: [PATCH] fix janny salary --- files/helpers/cron.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/helpers/cron.py b/files/helpers/cron.py index cd70f0c84..a600adfb6 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -373,6 +373,8 @@ def _unpin_expired(): def _give_marseybux_salary(): for u in g.db.query(User).filter(User.admin_level > 0).all(): marseybux_salary = u.admin_level * 10000 + if SITE_NAME == 'WPD': + marseybux_salary *= 2 u.pay_account('marseybux', marseybux_salary, "Janny salary") send_repeatable_notification(u.id, f"You have received your monthly janny salary of {commas(marseybux_salary)} Marseybux!")