From 1fe77cc5b379159ec8a5186e49f296852c7f178b Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 30 Jul 2019 12:29:19 +0200 Subject: [PATCH] Fix typo --- wo/cli/plugins/stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wo/cli/plugins/stack.py b/wo/cli/plugins/stack.py index 3bc2b27..b0ff144 100644 --- a/wo/cli/plugins/stack.py +++ b/wo/cli/plugins/stack.py @@ -1710,7 +1710,7 @@ class WOStackController(CementBaseController): meminfo = (os.popen('cat /proc/meminfo ' '| grep MemTotal').read()).split(" ") memsplit = (meminfo[1]).split(" ") - wo_mem = int(mem[0]) + wo_mem = int(memsplit[0]) if wo_mem < 4000000: WOSwap.add(self) Log.info(self, "Updating apt-cache, please wait...")