summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
authorankitjavalkar2019-01-14 12:59:51 +0530
committerankitjavalkar2019-01-14 13:00:10 +0530
commit4b2d66d8208998f4fceb1178dd085bd3158d0b7a (patch)
tree009019fdd42126c296112b609c86a6ed2dccc831 /yaksh/views.py
parentbc66702638026bf8ef765a3251b2ea2eb67f19dd (diff)
downloadonline_test-4b2d66d8208998f4fceb1178dd085bd3158d0b7a.tar.gz
online_test-4b2d66d8208998f4fceb1178dd085bd3158d0b7a.tar.bz2
online_test-4b2d66d8208998f4fceb1178dd085bd3158d0b7a.zip
Fix PEP8 issue - Line more than 80 columns in views.py
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 2d69fa2..0f81931 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -905,8 +905,8 @@ 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: