raise import exception after printing an error
This commit is contained in:
parent
92feb997f8
commit
f9ead1e628
1 changed files with 2 additions and 2 deletions
4
make.py
4
make.py
|
@ -21,8 +21,8 @@ projectname = sys.argv[1].strip('/')
|
||||||
try:
|
try:
|
||||||
project = renderlib.loadProject(projectname)
|
project = renderlib.loadProject(projectname)
|
||||||
except ImportError:
|
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))
|
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))
|
||||||
sys.exit(1)
|
raise
|
||||||
|
|
||||||
# using --debug skips the threading, the network fetching of the schedule and
|
# using --debug skips the threading, the network fetching of the schedule and
|
||||||
# just renders one type of video
|
# just renders one type of video
|
||||||
|
|
Loading…
Add table
Reference in a new issue