diff options
author | Leif Johansson <leifj@sunet.se> | 2011-10-11 23:41:13 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-10-11 23:41:13 +0200 |
commit | 091daf065ddff524e635730da56ab261fd09233d (patch) | |
tree | fb7633d5c110251b3e994fb856a2cfa8e5a7cd5e /src/meetingtools | |
parent | 8a731e46293ea760b856462b9e82968451e8f36d (diff) |
support jsonp
Diffstat (limited to 'src/meetingtools')
-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): |