mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-27 19:25:27 +03:00
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
Block a user