foutje bedank: None vs 0

This commit is contained in:
Daan Hoogland 2021-02-19 15:26:30 +00:00
parent 90489813f5
commit a1fe05e189
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ class VirtualMachine:
if custommemory:
cmd.details[0]["memory"] = custommemory
if rootdisksize and rootdisksize >= 0:
if not rootdisksize is None and rootdisksize >= 0:
cmd.details[0]["rootdisksize"] = rootdisksize
if rootdiskcontroller: