From 314ba09b1447ec20c7ffad587691c83b965e7400 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 2 Sep 2020 02:21:01 -0400 Subject: Well of course there had to be one last dumb Python3 string bug --- projects/hsm/cryptech_probe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'projects') diff --git a/projects/hsm/cryptech_probe b/projects/hsm/cryptech_probe index 84359b7..356931a 100755 --- a/projects/hsm/cryptech_probe +++ b/projects/hsm/cryptech_probe @@ -125,7 +125,7 @@ for port in ports: # characters live, but it will do for the moment. try: - is_hsm = response[response.index(SLIP_END + RPC_reply) + len(SLIP_END + RPC_reply) + 4] == SLIP_END + is_hsm = response[response.index(SLIP_END + RPC_reply) + len(SLIP_END + RPC_reply) + 4] == SLIP_END[0] except ValueError: is_hsm = False except IndexError: -- cgit v1.2.3