From a7ccb2e66dc09d74f92f6f35844f014ff61320fb Mon Sep 17 00:00:00 2001 From: Laurie Clark-Michalek Date: Thu, 9 Jun 2011 11:22:42 +0000 Subject: Corrected order of results when using bottom alignment --- archey3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archey3 b/archey3 index 9887379..5c69c4f 100755 --- a/archey3 +++ b/archey3 @@ -602,7 +602,8 @@ class Archey(object): if arrangement == "top": return results elif arrangement == "bottom": - return results[::-1] + actuall_res = [res for res in results if res] + return [""] * (len(results) - len(actuall_res)) + actuall_res elif arrangement == "center": actuall_res = [res for res in results if res] offset = [""] * int((len(results) - len(actuall_res)) / 2) -- cgit v1.2.3-54-g00ecf