From 54c45f7e5e85a088eeb301fb3677f9c743cccbb5 Mon Sep 17 00:00:00 2001 From: "gasperfele@fri1.uni-lj.si" Date: Wed, 1 Apr 2015 21:27:08 +0000 Subject: Tested copy_rename_20_files_tail_env, added some hints. git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@297 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/web/kpov_judge/kpov_judge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kpov_judge/web') diff --git a/kpov_judge/web/kpov_judge/kpov_judge.py b/kpov_judge/web/kpov_judge/kpov_judge.py index b2636e2..67a0d1c 100755 --- a/kpov_judge/web/kpov_judge/kpov_judge.py +++ b/kpov_judge/web/kpov_judge/kpov_judge.py @@ -100,7 +100,7 @@ def results_dict(task_id): entry = db.results.find_one( {'$query': {'task_id': task_id, 'student_id': student_id}, '$orderby': {'status': -1}}, - {'result': 1, 'status': 1, '_id': 0}) + {'result': 1, 'status': 1, 'hints': 1, '_id': 0}) if entry is None: return {'result': 'Naloga ni bila nikdar ocenjena', 'status': 'NOT OK'} return entry -- cgit v1.2.1