mirror of https://github.com/nicolargo/glances.git
Correct issue with Python 3...
This commit is contained in:
parent
97bf233776
commit
0c3129cf96
|
|
@ -35,7 +35,7 @@ except ImportError:
|
|||
# For others...
|
||||
try:
|
||||
from scandir import scandir
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
scandir_tag = False
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue