From 552aaf480a7b994beb33b49fceccfcc9923e918d Mon Sep 17 00:00:00 2001 From: imarom Date: Wed, 23 Mar 2016 13:34:07 +0200 Subject: console now supports python3 --- .../trex_control_plane/stl/trex_stl_lib/utils/text_tables.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_tables.py') diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_tables.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_tables.py index 29b6ba58..8917cd28 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_tables.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_tables.py @@ -23,8 +23,7 @@ def generate_trex_stats_table(): def print_table_with_header(texttable_obj, header="", untouched_header=""): header = header.replace("_", " ").title() + untouched_header print(format_text(header, 'cyan', 'underline') + "\n") - - print((texttable_obj.draw() + "\n").encode('utf-8')) + print((texttable_obj.draw() + "\n")) if __name__ == "__main__": pass -- cgit 1.2.3-korg