Skip to content

Commit

Permalink
fix: disabledVOs not availabe when doing dirac-configure
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed Nov 9, 2023
1 parent 50ff1ab commit b30e5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/FrameworkSystem/scripts/dirac_proxy_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def doTheMagic(self):

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

0 comments on commit b30e5ee

Please sign in to comment.