summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorCruiseDevice2019-01-14 15:24:48 +0530
committerCruiseDevice2019-01-28 13:07:02 +0530
commit85427fceb1c06cf036f2351ebdc0a051b5d4acb6 (patch)
treeea07869ea62632f772d6a41040a56e77c38757ee /yaksh
parent461cfcd6c736a016636932e019476558135f0ccf (diff)
downloadonline_test-85427fceb1c06cf036f2351ebdc0a051b5d4acb6.tar.gz
online_test-85427fceb1c06cf036f2351ebdc0a051b5d4acb6.tar.bz2
online_test-85427fceb1c06cf036f2351ebdc0a051b5d4acb6.zip
Fix PEP8 errors in views.py
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/views.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 68d2b8a..6c7a12e 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -903,8 +903,10 @@ def complete(request, reason=None, attempt_num=None, questionpaper_id=None,
"""Show a page to inform user that the quiz has been completed."""
user = request.user
if questionpaper_id is None:
- message = (reason or "An Unexpected Error occurred. Please contact your"
- " instructor/administrator.")
+ message = (
+ reason or "An Unexpected Error occurred."
+ " Please contact your instructor/administrator."
+ )
context = {'message': message}
return my_render_to_response(request, 'yaksh/complete.html', context)
else: