From: charlie Date: Mon, 25 Jan 2016 13:31:38 +0000 (+0100) Subject: adapter can now handle partial alphabet testing X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=2af9974865351540070a2764941c4ae278603d7e;p=tt2015.git adapter can now handle partial alphabet testing --- diff --git a/a4/tcp/adapter/listener.py b/a4/tcp/adapter/listener.py index a6d8999..121442e 100644 --- a/a4/tcp/adapter/listener.py +++ b/a4/tcp/adapter/listener.py @@ -84,7 +84,8 @@ if __name__ == "__main__": break if response == 'Timeout': - data = 'TO' + data = 'ERR' + has_error = True elif response[0] == 'A': data = 'ACK' elif response[0] == 'PA':