From a1fe05e189c4140b5edfc486e400cbf060141fe8 Mon Sep 17 00:00:00 2001 From: Daan Hoogland Date: Fri, 19 Feb 2021 15:26:30 +0000 Subject: [PATCH] foutje bedank: None vs 0 --- tools/marvin/marvin/lib/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py index 82b82be7be3..6ca057c207b 100755 --- a/tools/marvin/marvin/lib/base.py +++ b/tools/marvin/marvin/lib/base.py @@ -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: