From 091daf065ddff524e635730da56ab261fd09233d Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 11 Oct 2011 23:41:13 +0200 Subject: support jsonp --- src/meetingtools/ac/api.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- cgit v1.1