Skip to content

Commit 6726bd0

Browse files
author
Reda.Drissi.e
committed
Added multi-disk support
1 parent 2bdab6b commit 6726bd0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/stats.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,7 @@ class Disk:
646646
@classmethod
647647
def stats(cls):
648648
if 'MOUNTS' not in config.THEME_DATA['STATS']['DISK']:
649-
print("Doing mounts")
650-
mountpoints = [ config.THEME_DATA['STATS']['DISK'] ]
649+
mountpoints = [ {"/": config.THEME_DATA['STATS']['DISK'] }]
651650
else:
652651
mountpoints = config.THEME_DATA['STATS']['DISK']['MOUNTS']
653652

0 commit comments

Comments
 (0)