1
0

bytebeat_compiler.py: break on invalid mode

This commit is contained in:
Intel A80486DX2-66 2024-01-12 20:53:19 +03:00
parent c6d9d833d0
commit 76384284fe
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -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,