diff options
-rw-r--r-- | src/meetingtools/ac/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index 1d790d0..67b8fca 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 and not type: + if self._cpool and not value: self._cpool._q.put_nowait(self) def __enter__(self): |