diff --git a/agent.py b/agent.py index 35b5d69..b41ba09 100644 --- a/agent.py +++ b/agent.py @@ -585,6 +585,9 @@ class VRWLDAP(): # Add correct machine # The naming is very confusing. But from the 'old days' it was Shared for Basic, and Premium is Small :( + if workstation is None: + return (members_dn, None) + if workstation in ['premium']: workstation_dn = f'cn={matches.group("group_name")}:WS:Dedicated:Small,{group_dn}' if workstation in ['standaard', 'basic']: