Commit 95b1fe07 authored by Hamdi Sahloul's avatar Hamdi Sahloul

JS: Provides meaningful message in case of compile issues

parent 35bee663
......@@ -103,4 +103,7 @@ if __name__ == "__main__":
if len(sys.argv) > 2:
opencvjs = sys.argv[1]
cvjs = sys.argv[2]
if not os.path.isfile(opencvjs):
print('opencv.js file not found! Have you compiled the opencv_js module?')
exit()
make_umd(opencvjs, cvjs);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment