[Cryptech-Commits] [sw/libhal] branch python3 updated: Well of course there had to be one last dumb Python3 string bug
    git at cryptech.is 
    git at cryptech.is
       
    Wed Sep  2 06:18:26 UTC 2020
    
    
  
This is an automated email from the git hooks/post-receive script.
sra at hactrn.net pushed a commit to branch python3
in repository sw/libhal.
The following commit(s) were added to refs/heads/python3 by this push:
     new 6212a59  Well of course there had to be one last dumb Python3 string bug
6212a59 is described below
commit 6212a592c52372080c7c5035c6a2513dcb50cf61
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Wed Sep 2 02:20:54 2020 -0400
    Well of course there had to be one last dumb Python3 string bug
---
 cryptech_muxd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cryptech_muxd b/cryptech_muxd
index bc77a2e..d2fd54e 100755
--- a/cryptech_muxd
+++ b/cryptech_muxd
@@ -383,7 +383,7 @@ class ProbeIOStream(SerialIOStream):
         is_cty = any(prompt in response for prompt in (b"Username:", b"Password:", b"cryptech>"))
 
         try:
-            is_rpc = response[response.index(SLIP_END + RPC_reply) + len(SLIP_END + RPC_reply) + 4] == SLIP_END
+            is_rpc = response[response.index(SLIP_END + RPC_reply) + len(SLIP_END + RPC_reply) + 4] == SLIP_END[0]
         except ValueError:
             is_rpc = False
         except IndexError:
-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
    
    
More information about the Commits
mailing list