summaryrefslogtreecommitdiffstats
path: root/glances/plugins/folders/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'glances/plugins/folders/__init__.py')
-rw-r--r--glances/plugins/folders/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/glances/plugins/folders/__init__.py b/glances/plugins/folders/__init__.py
index 7c5a098e..f4e28db4 100644
--- a/glances/plugins/folders/__init__.py
+++ b/glances/plugins/folders/__init__.py
@@ -10,7 +10,6 @@
"""Folder plugin."""
from __future__ import unicode_literals
-import numbers
from glances.globals import nativestr
from glances.folder_list import FolderList as glancesFolderList
@@ -108,7 +107,7 @@ class PluginModel(GlancesPluginModel):
ret.append(self.curse_new_line())
if len(i['path']) > name_max_width:
# Cut path if it is too long
- path = '_' + i['path'][-name_max_width + 1:]
+ path = '_' + i['path'][-name_max_width + 1 :]
else:
path = i['path']
msg = '{:{width}}'.format(nativestr(path), width=name_max_width)