logging truth error

This commit is contained in:
erenup
2019-08-28 16:50:40 +08:00
parent df52abe373
commit ec4b1c659f

View File

@@ -248,7 +248,8 @@ class ArcProcessor(DataProcessor):
elif truth in "1234": elif truth in "1234":
return int(truth) - 1 return int(truth) - 1
else: else:
logger.info("truth ERROR!") logger.info("truth ERROR! %s", str(truth))
return None
examples = [] examples = []
three_choice = 0 three_choice = 0