receiver: fix bug in printing closed threaded handle
This commit is contained in:
parent
a1aa584b7e
commit
4f061595e9
|
@ -98,6 +98,8 @@ class _ThreadedHandle:
|
|||
return self._local.handle
|
||||
except Exception:
|
||||
return self._open()
|
||||
else:
|
||||
return -1
|
||||
|
||||
__int__ = __index__
|
||||
|
||||
|
|
Loading…
Reference in New Issue