Commit 6cbdd81d4c44477911db3e5548a0368e552bbbef
1 parent
1896ddb2
Exists in
master
and in
1 other branch
- better warning for answers_dir
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test.py
... | ... | @@ -47,7 +47,7 @@ def read_configuration(filename, debug=False, show_points=False, show_hints=Fals |
47 | 47 | |
48 | 48 | # where to put the students answers (optional) |
49 | 49 | if 'answers_dir' not in test: |
50 | - print('[ WARNG ] Missing "answers_dir" in the test configuration file "{0}".\n Saving answers is disabled'.format(filename)) | |
50 | + 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)) | |
51 | 51 | test['save_answers'] = False |
52 | 52 | else: |
53 | 53 | test['answers_dir'] = os.path.normpath(os.path.expanduser(str(test['answers_dir']))) | ... | ... |