From 225c63af0b7b2773e05a9647cd0d70b89850b713 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 4 Jul 2023 23:59:42 +0300 Subject: [PATCH] same as last commit --- files/helpers/cron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/cron.py b/files/helpers/cron.py index fa8bec7b6..458609192 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -173,8 +173,8 @@ def _process_timer(attr, badge_ids, text, extra_attrs={}): uids = set([x.id for x in users]) #set user attributes + attr = str(attr).split('.')[1] for user in users: - attr = str(attr).split('.')[1] setattr(user, attr, 0) for k, val in extra_attrs.items(): k = str(k).split('.')[1]