mirror of
https://github.com/michaelcmartin/Ophis.git
synced 2024-12-11 07:50:45 +00:00
The ASCII characters DEL (127) and US (31) are not printable.
This commit is contained in:
parent
83b8433b77
commit
1ab61cd3be
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user