# HG changeset patch # User Nicholas Jillings # Date 1494411362 -3600 # Node ID 151ae5a4b9797e1d6cf8b1b52808842655290c8b # Parent cf1a3a52917793dc24ed6d1016e94daca9414839 Make score_parser resiliant to interface-name="null" bug. diff -r cf1a3a529177 -r 151ae5a4b979 python/score_parser.py --- a/python/score_parser.py Tue May 09 15:42:59 2017 +0100 +++ b/python/score_parser.py Wed May 10 11:16:02 2017 +0100 @@ -85,7 +85,7 @@ audioElement = page.find("./audioelement/[@ref='"+ fragmentname+ "']") # Get the element for value in audioElement.findall('./value'): axisName = value.get('interface-name') - if axisName == None: + if axisName == None or axisName == "null": axisName = 'default' axisStore = storage[page_name]['axis'][axisName] if hasattr(value, 'text'):