diff options
author | 2016-03-23 13:34:07 +0200 | |
---|---|---|
committer | 2016-03-23 13:34:07 +0200 | |
commit | 552aaf480a7b994beb33b49fceccfcc9923e918d (patch) | |
tree | ef089094ca356edcccd4b2b6bbe7b29e4ec9d955 /scripts/automation/trex_control_plane/stl/trex_stl_lib/utils | |
parent | 2bcbca455b063e3ef6f90e85a1fac4994a0e6a51 (diff) |
console now supports python3
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/utils')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_tables.py | 3 |
1 files changed, 1 insertions, 2 deletions
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 |