diff options
author | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2011-06-09 11:22:42 +0000 |
---|---|---|
committer | Laurie Clark-Michalek <bluepeppers@archlinux.us> | 2011-06-09 11:22:42 +0000 |
commit | a7ccb2e66dc09d74f92f6f35844f014ff61320fb (patch) | |
tree | 053151900075b0dd97490db78bdf963b6909d2f6 | |
parent | 2570aaa122cd564b3df24f65b03a6b02e093ce16 (diff) |
Corrected order of results when using bottom alignment
-rwxr-xr-x | archey3 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |