diff options
Diffstat (limited to 'lib/python/Components/DiskInfo.py')
| -rw-r--r-- | lib/python/Components/DiskInfo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/DiskInfo.py b/lib/python/Components/DiskInfo.py index 0b7e0bcb..ba04ea49 100644 --- a/lib/python/Components/DiskInfo.py +++ b/lib/python/Components/DiskInfo.py @@ -1,6 +1,6 @@ from GUIComponent import * from VariableText import * -import os +from os import statvfs from enigma import eLabel @@ -21,7 +21,7 @@ class DiskInfo(VariableText, GUIComponent): def update(self): try: - stat = os.statvfs(self.path) + stat = statvfs(self.path) except OSError: return -1 |
