This commit is contained in:
Victor Shyba 2019-02-22 00:08:36 -03:00 committed by Jack Robison
parent 2d8ebe25ed
commit 9f071bbe36
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -108,7 +108,7 @@ class ReflectorServerProtocol(asyncio.Protocol):
try:
await asyncio.wait_for(blob.finished_writing.wait(), 30, loop=self.loop)
self.send_response({"received_blob": True})
except (asyncio.TimeoutError):
except asyncio.TimeoutError:
self.send_response({"received_blob": False})
self.incoming.clear()
self.writer.close_handle()