mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Catch error while closing stream in NonBlockingStreamReader
This commit is contained in:
parent
56c1cfec06
commit
19b28d43d0
1 changed files with 4 additions and 1 deletions
|
@ -52,4 +52,7 @@ class NonBlockingStreamReader:
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
"""Close the stream"""
|
"""Close the stream"""
|
||||||
|
try:
|
||||||
self._s.close()
|
self._s.close()
|
||||||
|
except IOError:
|
||||||
|
pass
|
||||||
|
|
Loading…
Add table
Reference in a new issue