diff --git a/pybootchartgui.py b/pybootchartgui.py index 947ce10..1c4062b 100755 --- a/pybootchartgui.py +++ b/pybootchartgui.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # # This file is part of pybootchartgui. diff --git a/pybootchartgui/parsing.py b/pybootchartgui/parsing.py index 2d8e14e..2f1aee4 100644 --- a/pybootchartgui/parsing.py +++ b/pybootchartgui/parsing.py @@ -451,7 +451,7 @@ def _parse_proc_disk_stat_log(file, numCpu): not sda1, sda2 etc. The format of relevant lines should be: {major minor name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq} """ - disk_regex_re = re.compile ('^([hsv]d.|mtdblock\d|mmcblk\d|cciss/c\d+d\d+.*)$') + disk_regex_re = re.compile ('^([hsv]d.|mtdblock\d|mmcblk\d|cciss/c\d+d\d+.*|nvme\d+n\d+)$') # this gets called an awful lot. def is_relevant_line(linetokens):