changeset 2832:740f273226c3

Merge branch 'hot_fix'
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Mon, 26 Jun 2017 11:55:43 +0100
parents 2f8c91fa32e8 (current diff) 151ae5a4b979 (diff)
children 47f187d4fc71
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/score_parser.py	Tue May 16 22:45:02 2017 +0200
+++ b/python/score_parser.py	Mon Jun 26 11:55:43 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'):