From 24db3d6821fba560da4c3a4ca03f96ba6daae5a6 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Wed, 15 Mar 2017 16:48:28 +0530 Subject: Multiple fixes in stdio_evaluator and models: - Change the way stdio output is printed - Fix minor errors when creating the uploaded file path in the models --- yaksh/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/models.py') diff --git a/yaksh/models.py b/yaksh/models.py index 398f508..103504e 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -66,7 +66,7 @@ test_status = ( def get_assignment_dir(instance, filename): return os.sep.join(( - instance.user.user, instance.assignmentQuestion.id, filename + instance.user.user.username, str(instance.assignmentQuestion.id), filename )) -- cgit