From a3ffc1016b776b332dd72689fcf4e5aa2f509a59 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Fri, 4 Dec 2020 15:16:46 +0100 Subject: [PATCH] oops fix an issue --- mlat/client/output.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mlat/client/output.py b/mlat/client/output.py index 1589773..94c29af 100644 --- a/mlat/client/output.py +++ b/mlat/client/output.py @@ -173,6 +173,10 @@ def __init__(self, listener, socket, s_family, s_type, addr): self.addr = addr self.writebuf = bytearray() + @staticmethod + def describe(): + return 'Basic connection' + def log(self, fmt, *args, **kwargs): log('{what} with {addr[0]}:{addr[1]}: ' + fmt, *args, what=self.describe(), addr=self.addr, **kwargs)