summaryrefslogtreecommitdiff
path: root/src/meetingtools/ac
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-04-05 14:15:24 +0200
committerLeif Johansson <leifj@sunet.se>2011-04-05 14:15:24 +0200
commitf7e3a1138131c957c3db97df63cbeb49b1b0a2d9 (patch)
treeef4c83fed46877f65607fc2346898850862926ff /src/meetingtools/ac
parent304cead27c78c3eb41572643980c7e586c9fdc8c (diff)
hmm
Diffstat (limited to 'src/meetingtools/ac')
-rw-r--r--src/meetingtools/ac/api.py2
1 files changed, 1 insertions, 1 deletions
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)