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))