Commit 9a4455fd authored by Mikaël Salson's avatar Mikaël Salson

user_group: Unbound variable g

See vdj#494
parent b69a8dac
......@@ -45,5 +45,5 @@ def get_involved_groups():
if (auth.is_admin()):
return [int(g.id) for g in db(db.auth_group).select(db.auth_group.id)]
group_ids = [int(i) for i in auth.user_groups]
parent_group_ids = [int(g.id) for f in auth.get_user_group_parents()]
parent_group_ids = [int(f.id) for f in auth.get_user_group_parents()]
return group_ids + parent_group_ids
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment