From f7e3a1138131c957c3db97df63cbeb49b1b0a2d9 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 5 Apr 2011 14:15:24 +0200 Subject: hmm --- src/meetingtools/ac/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/meetingtools') diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index 553890b..a0d691c 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -105,7 +105,7 @@ class ACPClient(): if result.is_error(): if result.status_code() != 'no_data': result.exception() - elif not principal: + elif principal: dict['principal-id'] = principal.get('principal-id') update_result = self.request('principal-update',dict) -- cgit v1.1