summaryrefslogtreecommitdiffstats
path: root/scripts/external_libs
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-12-24 06:09:09 -0500
committerimarom <imarom@cisco.com>2015-12-24 06:09:09 -0500
commit7968d59c2d26d31b947bd3ae7be0216d8f7b681b (patch)
treefb8a548e958486b16ef4fc811f9cae39d4a3fd82 /scripts/external_libs
parent1ee0959dc36cfc997532bae3ed56ec8d8e29a379 (diff)
CPU util beautification
PPS total is only TX now and not TX + RX
Diffstat (limited to 'scripts/external_libs')
-rw-r--r--scripts/external_libs/texttable-0.8.4/texttable.py6
1 files changed, 5 insertions, 1 deletions
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]