From 6a193ac5ebd44329a6359be89638d8db56ae0393 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Tue, 17 Jul 2018 21:55:38 -0400 Subject: [PATCH] Integerize the memory variable --- pvcd/VMInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvcd/VMInstance.py b/pvcd/VMInstance.py index 21081420..d3c41f21 100644 --- a/pvcd/VMInstance.py +++ b/pvcd/VMInstance.py @@ -67,7 +67,7 @@ class VMInstance: def getmemory(self): try: - memory = self.dom.info()[2] / 1024 + memory = int(self.dom.info()[2] / 1024) except: memory = 0