mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-22 08:41:32 +03:00
Merge branch 'develop' of https://github.com/nicolargo/glances into issue1182
This commit is contained in:
commit
43420c8797
1
NEWS
1
NEWS
@ -24,6 +24,7 @@ Bugs corrected:
|
||||
* Crash on startup: KeyError: 'hz_actual_raw' on Raspbian 9.1 #1170
|
||||
* Add missing mount-observe and system-observe interfaces #1179
|
||||
* OS specific arguments should be documented and reported #1180
|
||||
* 'ascii' codec can't encode character u'\U0001f4a9' in position 4: ordinal not in range(128) #1185
|
||||
|
||||
Backward-incompatible changes:
|
||||
|
||||
|
@ -20,6 +20,9 @@ Glances - An eye on your system
|
||||
.. image:: https://img.shields.io/scrutinizer/g/nicolargo/glances.svg
|
||||
:target: https://scrutinizer-ci.com/g/nicolargo/glances/
|
||||
|
||||
.. image:: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fnicolargo%2Fglances.svg?type=shield
|
||||
:target: https://app.fossa.io/projects/git%2Bgithub.com%2Fnicolargo%2Fglances?ref=badge_shield
|
||||
|
||||
.. image:: https://img.shields.io/badge/Donate-PayPal-green.svg
|
||||
:target: https://www.paypal.me/nicolargo
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
import operator
|
||||
|
||||
from glances.compat import u
|
||||
from glances.logger import logger
|
||||
from glances.plugins.glances_plugin import GlancesPlugin
|
||||
|
||||
@ -194,7 +195,7 @@ class Plugin(GlancesPlugin):
|
||||
if len(hotspotname) > ifname_max_width:
|
||||
hotspotname = '_' + hotspotname[-ifname_max_width + 1:]
|
||||
# Add the new hotspot to the message
|
||||
msg = '{:{width}}'.format(hotspotname,
|
||||
msg = '{:{width}}'.format(u(hotspotname),
|
||||
width=ifname_max_width)
|
||||
ret.append(self.curse_add_line(msg))
|
||||
msg = '{:>7}'.format(i['signal'], width=ifname_max_width)
|
||||
|
Loading…
Reference in New Issue
Block a user