From 9ec4fc34a40955d5abf8f46cc6a3126d95a08706 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Tue, 12 Mar 2024 13:00:56 +0100 Subject: [PATCH] Fix getvos --- app/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils.py b/app/utils.py index 1c244a403..95bfd2c72 100644 --- a/app/utils.py +++ b/app/utils.py @@ -130,7 +130,7 @@ def getUserVOs(entitlements, vo_role=None): elif elem in g.settings.vo_map: vos.append(g.settings.vo_map[elem]) - return vos + return list(set(vos)) def getCachedSiteList(force=False):