Integerize the memory variable
This commit is contained in:
parent
0fd8ecc019
commit
6a193ac5eb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue