Another Fix for int

This commit is contained in:
VirtuBox
2019-07-30 13:42:57 +02:00
parent e1068b4191
commit 94ed30b1c9

View File

@@ -1709,7 +1709,7 @@ class WOStackController(CementBaseController):
meminfo = (os.popen('cat /proc/meminfo '
'| grep MemTotal').read()).split(":")
memsplit = re.split(" kB", meminfo[1])
wo_mem = int(list(memsplit[0]))
wo_mem = int(memsplit[0])
if (wo_mem < 4000000):
WOSwap.add(self)
Log.info(self, "Updating apt-cache, please wait...")