diff --git a/bumblebee_status/modules/contrib/apt.py b/bumblebee_status/modules/contrib/apt.py index 256ed15..fa66c4b 100644 --- a/bumblebee_status/modules/contrib/apt.py +++ b/bumblebee_status/modules/contrib/apt.py @@ -21,7 +21,7 @@ PATTERN = "{} packages upgraded, {} newly installed, {} to remove and {} not upg def parse_result(to_parse): - # We want to line with the iforamtion about package upgrade + # We want the line with the package upgrade information line_to_parse = to_parse.split("\n")[-4] result = re.search( "(.+) packages upgraded, (.+) newly installed, (.+) to remove", line_to_parse