diff --git a/src/Moves.py b/src/Moves.py index 33e2514f968e0aed4e3754a1d2587e7baa6466f6..4dfc036bb0a85dd58318a321d0ab1200f2f708ce 100644 --- a/src/Moves.py +++ b/src/Moves.py @@ -19,8 +19,9 @@ class Moves: if(mvtType == 'ROOT'): return 2 labelCode = self.dicoLabels.getCode(mvtLabel) if not labelCode : - print("cannot compute code of movement ", mvt, "label ", mvtLabel, "unknown") - exit(1) + labelCode = self.dicoLabels.getCode('NULL') + #print("cannot compute code of movement ", mvt, "label ", mvtLabel, "unknown") + #exit(1) if(mvtType == 'RIGHT'): return 3 + 2 * labelCode if(mvtType == 'LEFT'): return 3 + 2 * labelCode + 1