From 1ab61cd3bee3f8b3def39f9599479285d05d03f0 Mon Sep 17 00:00:00 2001 From: Cat's Eye Technologies Date: Sat, 26 Apr 2014 13:16:15 +0100 Subject: [PATCH] The ASCII characters DEL (127) and US (31) are not printable. --- src/Ophis/Listing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ophis/Listing.py b/src/Ophis/Listing.py index cf4101c..809ccaf 100644 --- a/src/Ophis/Listing.py +++ b/src/Ophis/Listing.py @@ -55,7 +55,7 @@ class Listing(object): dataline += (" %02X" * len(row)) % tuple(row) charline = "" for c in row: - if c < 31 or c > 127: + if c < 32 or c > 126: charline += "." else: charline += chr(c)