Fix exception argument check
The If case didn't work properly when 0 was given to the --exception option.
JerryScript-DCO-1.0-Signed-off-by: Daniel Balla
@@ -901,8 +901,8 @@ def main():
if args.display:
prompt.do_display(args.display)
- if args.exception:
- prompt.do_exception(args.exception)
+ if args.exception is not None:
+ prompt.do_exception(str(args.exception))
while True:
if not non_interactive and prompt.cont:
