From 09b23c2ffa3d7970155b9d4b47dda33ba17ad5c2 Mon Sep 17 00:00:00 2001 From: Alan Mason <1923621+2Shirt@users.noreply.github.com> Date: Sun, 3 Dec 2017 17:36:02 -0800 Subject: [PATCH] Prevent double timestamps in show_installed_ram() --- .bin/Scripts/functions/info.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.bin/Scripts/functions/info.py b/.bin/Scripts/functions/info.py index 68b98944..0c67abb9 100644 --- a/.bin/Scripts/functions/info.py +++ b/.bin/Scripts/functions/info.py @@ -390,12 +390,12 @@ def show_installed_ram(): mem = psutil.virtual_memory() if mem.total > 5905580032: # > 5.5 Gb so 6Gb or greater - print_standard(human_readable_size(mem.total).strip()) + print_standard(human_readable_size(mem.total).strip(), timestamp=False) elif mem.total > 3758096384: # > 3.5 Gb so 4Gb or greater - print_warning(human_readable_size(mem.total).strip()) + print_warning(human_readable_size(mem.total).strip(), timestamp=False) else: - print_error(human_readable_size(mem.total).strip()) + print_error(human_readable_size(mem.total).strip(), timestamp=False) def show_os_activation(): """Show OS activation info."""