Skip to content

Commit b30e5ee

Browse files
committed
fix: disabledVOs not availabe when doing dirac-configure
1 parent 50ff1ab commit b30e5ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/FrameworkSystem/scripts/dirac_proxy_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def doTheMagic(self):
240240

241241
vo = Registry.getVOMSVOForGroup(self.__piParams.diracGroup)
242242
disabledVOs = gConfig.getValue("/DiracX/DisabledVOs", [])
243-
if vo not in disabledVOs:
243+
if vo and vo not in disabledVOs:
244244
from diracx.core.utils import write_credentials # pylint: disable=import-error
245245
from diracx.core.models import TokenResponse # pylint: disable=import-error
246246
from diracx.core.preferences import DiracxPreferences # pylint: disable=import-error

0 commit comments

Comments
 (0)