summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchey32
1 files changed, 1 insertions, 1 deletions
diff --git a/archey3 b/archey3
index 608d715..734cc56 100755
--- a/archey3
+++ b/archey3
@@ -415,7 +415,7 @@ class packageDisplay(display):
command_line = "pacman -Q"
def format_output(self, instring):
- return "Packages", len(instring.split('\n'))
+ return "Packages", len(instring.rstrip('\n').split('\n'))
@module_register("distro")
class distroCheck(display):