diff options
Diffstat (limited to 'archey')
-rwxr-xr-x[-rw-r--r--] | archey | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -221,7 +221,7 @@ class RAM: class Disk: def __init__(self): - p1 = Popen(['df', '-Tlh', '--total', '-t', 'ext4', '-t', 'ext3', '-t', 'ext2', '-t', 'reiserfs', '-t', 'jfs', '-t', 'ntfs', '-t', 'fat32', '-t', 'btrfs', '-t', 'fuseblk'], stdout=PIPE).communicate()[0].decode("Utf-8") + p1 = Popen(['df', '-Tlh', '--total', '-t', 'ext4', '-t', 'ext3', '-t', 'ext2', '-t', 'reiserfs', '-t', 'jfs', '-t', 'ntfs', '-t', 'fat32', '-t', 'btrfs', '-t', 'fuseblk', '-t', 'xfs'], stdout=PIPE).communicate()[0].decode("Utf-8") total = p1.splitlines()[-1] used = total.split()[3] size = total.split()[2] |