Skip to content

Commit

Permalink
Fix getvos
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Mar 12, 2024
1 parent 6266b2a commit 7b7f59c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ def getUserVOs(entitlements, vo_role=None):
elif elem in g.settings.vo_map:
vos.append(g.settings.vo_map[elem])

return list(set(vos)).sort()
vos = list(set(vos))
vos.sort()
return vos


def getCachedSiteList(force=False):
Expand Down

0 comments on commit 7b7f59c

Please sign in to comment.