From 8813b71a8538d56f78f60b1434ba69ffcdec7c89 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 17 Sep 2016 12:19:11 +1000 Subject: Reset the comment after use so that it isn't applied to other features. --- scripts/Face.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/Face.py b/scripts/Face.py index 3724c8fa8..0fbae30a8 100644 --- a/scripts/Face.py +++ b/scripts/Face.py @@ -82,6 +82,7 @@ class Face: raise Exception("Duplicate value " + value + " " + name) self.values[value] = 1 self.order.append(name) + currentComment = [] elif featureType == "evt": retType, name, value = decodeEvent(featureVal) self.features[name] = { @@ -115,4 +116,5 @@ class Face: "Value": value, "Comment": currentComment } self.order.append(name) + currentComment = [] -- cgit v1.2.3