Skip to content

Commit

Permalink
Fix the libravatar manual awarder
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Bompard <[email protected]>
  • Loading branch information
abompard committed Apr 18, 2024
1 parent a689a87 commit 86c402f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fedbadges/manual/libravatar.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(debug):
uri,
notification_callback=fedbadges.utils.notification_callback,
)
badge = tahrir.get_badge("mugshot")
badge = tahrir.get_badge(badge_id="mugshot")

persons = tahrir.get_all_persons()
already_has_it = [assertion.person for assertion in badge.assertions]
Expand Down Expand Up @@ -58,7 +58,7 @@ def main(debug):
if response.status_code == 200:
log.info("%s totally gets the mugshot badge.", person.nickname)
good.append(person)
award_badge(tahrir, badge.id, person.email, check_existing=False)
award_badge(tahrir, badge, person.email, check_existing=False)
else:
bad.append(person)

Expand Down

0 comments on commit 86c402f

Please sign in to comment.