From f9ead1e62838488b346b1a397c52943aafed9c77 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 16 Aug 2014 19:34:32 +0200 Subject: [PATCH] raise import exception after printing an error --- make.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.py b/make.py index 8008204..6eb7843 100755 --- a/make.py +++ b/make.py @@ -21,8 +21,8 @@ projectname = sys.argv[1].strip('/') try: project = renderlib.loadProject(projectname) except ImportError: - print("you must specify a project-name as first argument, eg. './make.py sotmeu14'. The supplied value '{0}' seems not to be a valid project (there is no '{0}/__init__.py').".format(projectname)) - sys.exit(1) + print("you must specify a project-name as first argument, eg. './make.py sotmeu14'. The supplied value '{0}' seems not to be a valid project (there is no '{0}/__init__.py').\n".format(projectname)) + raise # using --debug skips the threading, the network fetching of the schedule and # just renders one type of video