Fix another typo in the oldschool badges cronjob.
This commit is contained in:
parent
c6911d8699
commit
6eb8225f04
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ def user_in_group(user, group_name):
|
|||
group_id = None
|
||||
for g in user.memberships:
|
||||
if g.name == group_name:
|
||||
group_id = g.group_id
|
||||
group_id = g.id
|
||||
break
|
||||
|
||||
if not group_id:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue