diff options
author | ankitjavalkar | 2017-03-15 16:48:28 +0530 |
---|---|---|
committer | ankitjavalkar | 2017-03-15 16:48:28 +0530 |
commit | 24db3d6821fba560da4c3a4ca03f96ba6daae5a6 (patch) | |
tree | 94c436eeb52ae5ae6e126539641a521f80c3961b /yaksh/models.py | |
parent | ce7238aef6d5080d8f7ea79b96c9569bf191f0b8 (diff) | |
download | online_test-24db3d6821fba560da4c3a4ca03f96ba6daae5a6.tar.gz online_test-24db3d6821fba560da4c3a4ca03f96ba6daae5a6.tar.bz2 online_test-24db3d6821fba560da4c3a4ca03f96ba6daae5a6.zip |
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
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 )) |