diff --git a/aprendizations/questions.py b/aprendizations/questions.py index e32c53d..866e53b 100644 --- a/aprendizations/questions.py +++ b/aprendizations/questions.py @@ -520,7 +520,8 @@ class QuestionTextArea(Question): if out is None: logger.warning('No grade after running "%s".', self["correct"]) - self['comments'] = 'O programa de correcção abortou...' + self['comments'] = ('Erro interno durante a correcção. ' + 'Por favor reporte este erro') self['grade'] = 0.0 elif isinstance(out, dict): self['comments'] = out.get('comments', '') @@ -550,7 +551,8 @@ class QuestionTextArea(Question): if out is None: logger.warning('No grade after running "%s".', self["correct"]) - self['comments'] = 'O programa de correcção abortou...' + self['comments'] = ('Erro interno durante a correcção. ' + 'Por favor reporte este erro') self['grade'] = 0.0 elif isinstance(out, dict): self['comments'] = out.get('comments', '') @@ -694,4 +696,4 @@ class QFactory(): # ------------------------------------------------------------------------ def generate(self) -> Question: '''generate question (synchronous version)''' - return asyncio.get_event_loop().run_until_complete(self.gen_async()) \ No newline at end of file + return asyncio.get_event_loop().run_until_complete(self.gen_async()) diff --git a/aprendizations/templates/include-libs.html b/aprendizations/templates/include-libs.html index 21635e9..2745272 100644 --- a/aprendizations/templates/include-libs.html +++ b/aprendizations/templates/include-libs.html @@ -2,8 +2,8 @@ - - + + - + -- libgit2 0.21.2