From 6e138fc47a56885ce521d8e59dd17f2251fda302 Mon Sep 17 00:00:00 2001 From: Yan Date: Wed, 11 Dec 2024 14:31:57 -0700 Subject: [PATCH] oops --- dojo_plugin/utils/awards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dojo_plugin/utils/awards.py b/dojo_plugin/utils/awards.py index f386b3cb..1481aae7 100644 --- a/dojo_plugin/utils/awards.py +++ b/dojo_plugin/utils/awards.py @@ -26,7 +26,7 @@ def get_user_emojis(user): emoji = dojo.award and dojo.award.get('emoji', None) if not emoji: continue - if d.challenges and dojo.completed(user): + if dojo.challenges and dojo.completed(user): emojis.append((emoji, dojo.name, dojo.hex_dojo_id)) return emojis