From 0c3129cf96bf9c5fdb021b1bc0fcdefb39827c54 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 21 Nov 2015 10:59:04 +0100 Subject: [PATCH] Correct issue with Python 3... --- glances/folder_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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