From ae76a4f778fd53a9c1a92cb72339be7bf452e9e2 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 1 Nov 2016 18:18:51 +0100 Subject: [PATCH] Fix crash when getting font --- gns3server/controller/topology.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/topology.py b/gns3server/controller/topology.py index 131f944f..127b0016 100644 --- a/gns3server/controller/topology.py +++ b/gns3server/controller/topology.py @@ -326,7 +326,7 @@ def _convert_1_3_later(topo, topo_path): # Notes for note in topo.get("notes", []): - font_info = note["font"].get("TypeWriter,10,-1,5,75,0,0,0,0,0").split(",") + font_info = note.get("font", "TypeWriter,10,-1,5,75,0,0,0,0,0").split(",") if font_info[4] == "75": weight = "bold"