diff --git a/glances/folder_list.py b/glances/folder_list.py index a5623af0..386d939b 100644 --- a/glances/folder_list.py +++ b/glances/folder_list.py @@ -35,7 +35,7 @@ except ImportError: # For others... try: from scandir import scandir - except Exception, e: + except Exception as e: scandir_tag = False