diff options
-rw-r--r-- | Lib/binhex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/binhex.py b/Lib/binhex.py index 25e5349..686f8d9 100644 --- a/Lib/binhex.py +++ b/Lib/binhex.py @@ -92,7 +92,7 @@ else: fp = open(name) data = open(name).read(256) for c in data: - if not c.isspace() and (c<' ' or ord(c) > 0177): + if not c.isspace() and (c<' ' or ord(c) > 0x7f): break else: finfo.Type = 'TEXT' |