style fixes
This commit is contained in:
parent
e4a21e94fc
commit
2ea8e69c66
|
@ -36,14 +36,14 @@ def print_codepage(printer, codepage):
|
||||||
|
|
||||||
# Table header
|
# Table header
|
||||||
printer.set(text_type='B')
|
printer.set(text_type='B')
|
||||||
printer._raw(" %s\n" % sep.join(map(lambda s: hex(s)[2:], range(0,16))))
|
printer._raw(" {}\n".format(sep.join(map(lambda s: hex(s)[2:], range(0, 16)))))
|
||||||
printer.set()
|
printer.set()
|
||||||
|
|
||||||
# The table
|
# The table
|
||||||
for x in range(0, 16):
|
for x in range(0, 16):
|
||||||
# First column
|
# First column
|
||||||
printer.set(text_type='B')
|
printer.set(text_type='B')
|
||||||
printer._raw("%s " % hex(x)[2:])
|
printer._raw("{} ".format(hex(x)[2:]))
|
||||||
printer.set()
|
printer.set()
|
||||||
|
|
||||||
for y in range(0,16):
|
for y in range(0,16):
|
||||||
|
|
Loading…
Reference in New Issue