summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)