diff options
author | nicolargo <nicolas@nicolargo.com> | 2017-04-01 22:18:56 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2017-04-01 22:18:56 +0200 |
commit | 67485845bfc27353491fe04cc085182204d4f525 (patch) | |
tree | e34810fd0aaadc4a7fd40b8f688cbcb22fe40da8 | |
parent | 7e66e1de03d8e3e37969694497ecf3678a8d58be (diff) |
Correct an issue on unicode for Python 3
-rw-r--r-- | glances/plugins/glances_fs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glances/plugins/glances_fs.py b/glances/plugins/glances_fs.py index b99bc0bb..f4e6ab0f 100644 --- a/glances/plugins/glances_fs.py +++ b/glances/plugins/glances_fs.py @@ -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, |