From 6cbdd81d4c44477911db3e5548a0368e552bbbef Mon Sep 17 00:00:00 2001 From: Miguel Barao Date: Fri, 11 Mar 2016 12:41:40 +0000 Subject: [PATCH] - better warning for answers_dir --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index f28e33f..6a3c31d 100644 --- a/test.py +++ b/test.py @@ -47,7 +47,7 @@ def read_configuration(filename, debug=False, show_points=False, show_hints=Fals # where to put the students answers (optional) if 'answers_dir' not in test: - print('[ WARNG ] Missing "answers_dir" in the test configuration file "{0}".\n Saving answers is disabled'.format(filename)) + print('[ WARNG ] Missing "answers_dir" in the test configuration file "{0}".\n Tests are NOT being saved. Grades are still being inserted into the database.'.format(filename)) test['save_answers'] = False else: test['answers_dir'] = os.path.normpath(os.path.expanduser(str(test['answers_dir']))) -- libgit2 0.21.2