Merge branch 'issue1065' into develop

This commit is contained in:
nicolargo 2017-04-01 22:03:57 +02:00
commit 7e66e1de03
2 changed files with 3 additions and 1 deletions

1
NEWS
View File

@ -9,6 +9,7 @@ Bugs corrected:
* StatsD export prefix option is ignored (issue #1074)
* Some FS and LAN metrics fail to export correctly to StatsD (issue #1068)
* Problem with non breaking space in file system name (issue #1065)
Version 2.9.1
=============

View File

@ -131,7 +131,8 @@ class Plugin(GlancesPlugin):
fs_current = {
'device_name': fs.device,
'fs_type': fs.fstype,
'mnt_point': fs.mountpoint,
# Manage non breaking space (see issue #1065)
'mnt_point': unicode(fs.mountpoint, 'utf-8').replace(u'\u00A0', ' '),
'size': fs_usage.total,
'used': fs_usage.used,
'free': fs_usage.free,