From 6848f7dc6a9daba1df960c9bff399e8febfe194f Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Mon, 9 Mar 2020 20:59:36 +0100 Subject: [PATCH] Another small fix --- uvscand/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/uvscand/__init__.py b/uvscand/__init__.py index ff3a930..6f93e66 100644 --- a/uvscand/__init__.py +++ b/uvscand/__init__.py @@ -138,6 +138,7 @@ class AIO(asyncio.Protocol): else: self.logger.debug("{} chunk complete ({} bytes)".format(self.peer, self.length)) self.length = None + self.fsize = 0 except (RuntimeError, IndexError, IOError, struct.error) as e: self.logger.warning("{} warning: {}".format(self.peer, e))