From 94ebd732a8ea156a18908b72b5532837d3121338 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 31 Oct 2016 11:37:39 +0100 Subject: [PATCH] Fix a crash when default font is missing Fix #750 --- 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 5ea8650c..131f944f 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"].split(",") + font_info = note["font"].get("TypeWriter,10,-1,5,75,0,0,0,0,0").split(",") if font_info[4] == "75": weight = "bold"