mirror of https://github.com/nicolargo/glances
Add ascii encoding on network interface name
parent
4247fdcace
commit
c98b364d3c
|
@ -1821,7 +1821,7 @@ class glancesScreen:
|
|||
# network interface name
|
||||
self.term_window.addnstr(
|
||||
self.network_y + 1 + i, self.network_x,
|
||||
network[i]['interface_name'] + ':', 8)
|
||||
unicode(network[i]['interface_name'], 'ascii', 'ignore') + ':', 8)
|
||||
|
||||
# Byte/s or bit/s
|
||||
if self.net_byteps_tag:
|
||||
|
|
Loading…
Reference in New Issue