From 99034d05757938328d943c38c2e271b7627eaa02 Mon Sep 17 00:00:00 2001 From: Sergio Pulgarin Date: Thu, 17 Aug 2017 08:45:45 -0500 Subject: [PATCH] Fixed outdated example file: should be font 'b' not 'B' Updated AUTHORS using script. --- .mailmap | 3 ++- AUTHORS | 1 + examples/codepage_tables.py | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.mailmap b/.mailmap index 9de2698..606ae8a 100644 --- a/.mailmap +++ b/.mailmap @@ -8,4 +8,5 @@ Cody (Quantified Code Bot) Cody Renato.Lorenzi Ahmed Tahri TAHRI Ahmed Michael Elsdörfer Michael Elsdörfer -csoft2k \ No newline at end of file +csoft2k +Sergio Pulgarin diff --git a/AUTHORS b/AUTHORS index f5f64a5..7ca14d0 100644 --- a/AUTHORS +++ b/AUTHORS @@ -22,6 +22,7 @@ Qian Linfeng Renato Lorenzi Romain Porte Sam Cheng +Sergio Pulgarin Stephan Sokolow Thijs Triemstra Thomas van den Berg diff --git a/examples/codepage_tables.py b/examples/codepage_tables.py index 7966036..a071bf5 100644 --- a/examples/codepage_tables.py +++ b/examples/codepage_tables.py @@ -37,14 +37,14 @@ def print_codepage(printer, codepage): sep = "" # Table header - printer.set(text_type='B') + printer.set(font='b') printer._raw(" {}\n".format(sep.join(map(lambda s: hex(s)[2:], range(0, 16))))) printer.set() # The table for x in range(0, 16): # First column - printer.set(text_type='B') + printer.set(font='b') printer._raw("{} ".format(hex(x)[2:])) printer.set()