mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-22 16:51:35 +03:00
Correct an issue on unicode for Python 3
This commit is contained in:
parent
7e66e1de03
commit
67485845bf
@ -132,7 +132,7 @@ class Plugin(GlancesPlugin):
|
||||
'device_name': fs.device,
|
||||
'fs_type': fs.fstype,
|
||||
# Manage non breaking space (see issue #1065)
|
||||
'mnt_point': unicode(fs.mountpoint, 'utf-8').replace(u'\u00A0', ' '),
|
||||
'mnt_point': fs.mountpoint.replace(u'\u00A0', ' '),
|
||||
'size': fs_usage.total,
|
||||
'used': fs_usage.used,
|
||||
'free': fs_usage.free,
|
||||
|
Loading…
Reference in New Issue
Block a user