Fix typo and and logging messages
This commit is contained in:
4
uvscand/__init__.py
Executable file → Normal file
4
uvscand/__init__.py
Executable file → Normal file
@@ -106,9 +106,11 @@ class AIO(asyncio.Protocol):
|
||||
self.transport.write(response)
|
||||
self.transport.close()
|
||||
|
||||
def connection_list(self, exc):
|
||||
def connection_lost(self, exc):
|
||||
if self.tmpfile:
|
||||
self.logger.debug("removing temporary file {}".format(self.tmpfile))
|
||||
os.remove(self.tmpfile)
|
||||
self.logger.debug("closed connection to {}".format(self.peer))
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user