Fix a crash when default font is missing

Fix #750
pull/774/head
Julien Duponchelle 8 years ago
parent 9bceaa89b7
commit 94ebd732a8
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -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"

Loading…
Cancel
Save