summaryrefslogtreecommitdiff
path: root/yaksh/management
diff options
context:
space:
mode:
authoradityacp2016-08-26 11:32:39 +0530
committeradityacp2016-08-26 11:32:39 +0530
commit57a1930125a94b26af5141296a769a8679e272c6 (patch)
tree70b73a08fe924b11781dff3655950c37bc892e1e /yaksh/management
parent74745309a065399f6bd33544de8705f0004edf30 (diff)
downloadonline_test-57a1930125a94b26af5141296a769a8679e272c6.tar.gz
online_test-57a1930125a94b26af5141296a769a8679e272c6.tar.bz2
online_test-57a1930125a94b26af5141296a769a8679e272c6.zip
added else condition to failure status
Diffstat (limited to 'yaksh/management')
-rw-r--r--yaksh/management/commands/create_demo_course.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/management/commands/create_demo_course.py b/yaksh/management/commands/create_demo_course.py
index 9034283..21c56b7 100644
--- a/yaksh/management/commands/create_demo_course.py
+++ b/yaksh/management/commands/create_demo_course.py
@@ -72,3 +72,5 @@ class Command(BaseCommand):
status = create_demo_course()
if status:
self.stdout.write("Successfully Created")
+ else:
+ self.stdout.write("Unable to create Demo Course")