From 944e9b21ae7204e4c2a66fd831a0ad1dc8f8664e Mon Sep 17 00:00:00 2001 From: "J.G. Rubingh" Date: Tue, 25 Jan 2022 15:19:35 +0100 Subject: [PATCH] Small fix --- agent.py | 3 +++ 1 file changed, 3 insertions(+) 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']: