提交 b7326b82 编写于 作者: N nicolargo

Problem with non breaking space in file system name #1065

上级 4a282666
......@@ -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
=============
......
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册