From 57a1930125a94b26af5141296a769a8679e272c6 Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 26 Aug 2016 11:32:39 +0530 Subject: added else condition to failure status --- yaksh/management/commands/create_demo_course.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'yaksh/management/commands/create_demo_course.py') 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") -- cgit