diff options
author | 2016-01-13 04:20:33 -0500 | |
---|---|---|
committer | 2016-01-13 04:28:34 -0500 | |
commit | 862ec9b81ef22c860d4fb9fa45f0531f1c238bcc (patch) | |
tree | ba7916f8159f3da3f7e8016f72a0a781d290fa31 /scripts/automation/trex_control_plane/client_utils | |
parent | fdc012345f5ab9dc40d5a571855a7d2010d88475 (diff) |
TUI now writes to a string buffer and then to screen
(should be faster, like double buffering and switch)
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils')
-rw-r--r-- | scripts/automation/trex_control_plane/client_utils/text_tables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/text_tables.py b/scripts/automation/trex_control_plane/client_utils/text_tables.py index 2fa17f09..d8928da8 100644 --- a/scripts/automation/trex_control_plane/client_utils/text_tables.py +++ b/scripts/automation/trex_control_plane/client_utils/text_tables.py @@ -25,8 +25,8 @@ 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" + print (texttable_obj.draw() + "\n").encode('utf-8') if __name__ == "__main__": pass |