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 4d5559f..1d790d0 100644
--- a/src/meetingtools/ac/api.py
+++ b/src/meetingtools/ac/api.py
@@ -81,7 +81,7 @@ class ACPClient():
self._cache = {'login':{},'group':{}}
def __exit__(self,type,value,traceback):
- if self._cpool:
+ if self._cpool and not type:
self._cpool._q.put_nowait(self)
def __enter__(self):