X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fsupportview.py;h=80653e82474f39c33d1b4ef2f8bf4b6a19900149;hb=8c8a0ee978077089c62701970508ae78c39a5fd4;hp=f97705d5cbcebdcaf50dcfb3747da1db4a0e159e;hpb=e8b8c02d51026521418ec98f641c8f14f790fda7;p=myslice.git diff --git a/portal/supportview.py b/portal/supportview.py index f97705d5..80653e82 100644 --- a/portal/supportview.py +++ b/portal/supportview.py @@ -44,7 +44,7 @@ class SupportView (FreeAccessView, ThemeView): if 'myslice' in platform_detail['platform']: acc_auth_cred = account_config.get('delegated_authority_credentials','N/A') # assigning values - if acc_auth_cred == {}: + if acc_auth_cred == {} or acc_auth_cred == 'N/A': pi = "is_not_pi" else: pi = "is_pi"