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]