diff options
| author | Ian Ward <ian@excess.org> | 2011-01-11 16:06:05 -0500 |
|---|---|---|
| committer | Ian Ward <ian@excess.org> | 2011-01-11 16:06:05 -0500 |
| commit | 4149d5864ceaef97e8361a062ccf0ee0206f7780 (patch) | |
| tree | 087dcc473491503283816f10be90b317e1a57f63 /urwid/curses_display.py | |
| parent | 7145c0a659c9587e7b09554c0122161e20c171a5 (diff) | |
| download | urwid-4149d5864ceaef97e8361a062ccf0ee0206f7780.tar.gz | |
fix curses_display + 2.4, simplify util change
--HG--
branch : python3
Diffstat (limited to 'urwid/curses_display.py')
| -rwxr-xr-x | urwid/curses_display.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urwid/curses_display.py b/urwid/curses_display.py index 9b43c79..b927a1f 100755 --- a/urwid/curses_display.py +++ b/urwid/curses_display.py @@ -64,7 +64,7 @@ _curses_colours = { if str is bytes: # python2 _trans_table = "?"*32+"".join([chr(x) for x in range(32,256)]) else: #python3 - _trans_table = b"?"*32+bytes(range(32,256)) + _trans_table = bytes("?", "ascii")*32+bytes(range(32,256)) |
