Fix a crash when default font is missing

Fix #750
This commit is contained in:
Julien Duponchelle committed 2016-10-31 11:37:39 +01:00
1 parent 9bceaa89b7
commit 94ebd732a8
1 file changed
+1 -1
+1 -1
View File
@@ -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"