From 7968d59c2d26d31b947bd3ae7be0216d8f7b681b Mon Sep 17 00:00:00 2001 From: imarom Date: Thu, 24 Dec 2015 06:09:09 -0500 Subject: CPU util beautification PPS total is only TX now and not TX + RX --- scripts/external_libs/texttable-0.8.4/texttable.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/external_libs') diff --git a/scripts/external_libs/texttable-0.8.4/texttable.py b/scripts/external_libs/texttable-0.8.4/texttable.py index 775a43e5..684e63bd 100644 --- a/scripts/external_libs/texttable-0.8.4/texttable.py +++ b/scripts/external_libs/texttable-0.8.4/texttable.py @@ -365,7 +365,11 @@ class Texttable: try: f = float(x) except: - return str(x) + try: + return str(x) + except: + return x.encode('utf-8') + n = self._precision dtype = self._dtype[i] -- cgit