diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/meetingtools/ac/api.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index ed17260..863aadc 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -160,6 +160,8 @@ class ACPClient(): return result.get_principal() def find_user(self,login): + if not login: + return None return self.find_principal("login", login, "user") def add_remove_member(self,principal_id,group_id,is_member): |