Commit 6926ae9fee7969b8104e353f92349b0041285780

Authored by Miguel Barão
1 parent d9d83f26
Exists in master and in 1 other branch dev

- append comments instead of replace in question.correct

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
questions.py
... ... @@ -277,7 +277,7 @@ class QuestionNumericInterval(Question):
277 277 # answer = locale.atof(self['answer'])
278 278  
279 279 except ValueError:
280   - self['comments'] = 'A resposta não é numérica.'
  280 + self['comments'] = '\n'.join(['A resposta não é numérica.', self['comments']])
281 281 self['grade'] = 0.0
282 282 else:
283 283 self['grade'] = 1.0 if lower <= answer <= upper else 0.0
... ...