From df3baffd9b69cc794df8e26a1e0ad1acf8ab4d1f Mon Sep 17 00:00:00 2001 From: grossmj Date: Sat, 24 Nov 2018 19:56:29 +0700 Subject: [PATCH] Fix "None is not of type 'integer'" when opening project containing a Qemu VM. Fixes #2610. --- gns3server/schemas/qemu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/schemas/qemu.py b/gns3server/schemas/qemu.py index d1157de9..7579616d 100644 --- a/gns3server/schemas/qemu.py +++ b/gns3server/schemas/qemu.py @@ -537,7 +537,7 @@ QEMU_OBJECT_SCHEMA = { "description": "Console TCP port", "minimum": 1, "maximum": 65535, - "type": "integer" + "type": ["integer", "null"] }, "console_type": { "description": "Console type",