bytebeat_compiler.py: break on invalid mode
This commit is contained in:
parent
c6d9d833d0
commit
76384284fe
@ -195,6 +195,7 @@ if __name__ == "__main__":
|
||||
|
||||
if args.mode != "sequential" and args.mode != "instant":
|
||||
print("Invalid mode '%s'" % args.mode)
|
||||
raise SystemExit
|
||||
|
||||
rewrite_file(PATHS["substitute"], substitute_vars({
|
||||
"bytebeat_contents": bytebeat_contents,
|
||||
|
Loading…
Reference in New Issue
Block a user