Forgot one revert

dj111py38
Griffin Caprio 2015-04-15 07:44:52 -05:00
parent 3f0c65a2cf
commit dea7907b14
1 changed files with 1 additions and 3 deletions

View File

@ -42,13 +42,11 @@ def check_actual_answers_against_expression(check_answer, actual_answer, check_q
# Negative Value Expressions
if check_answer.startswith("!"):
# Client has not been asked question, so a negative expression is moot.
if len(actual_answer) == 0:
return False
for actual_answer in actual_answer:
# Client has not been asked question, so a negative expression is moot.
if actual_answer == '':
return True
return False
if check_answer[1:].strip() == actual_answer.strip():
return False
return True