Skip to content

Commit

Permalink
another subGroups fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrik committed Jan 3, 2024
1 parent 20443f5 commit e42bea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion krs/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _recursive_fix_group_attributes(group):
group (dict): group object
"""
_fix_attributes(group)
for subgroup in group['subGroups']:
for subgroup in group.get('subGroups', []):
_recursive_fix_group_attributes(subgroup)


Expand Down

0 comments on commit e42bea2

Please sign in to comment.