Fix TypeError when building for WebAssembly with Python 3

This commit is contained in:
Justin Frank 2020-10-20 17:31:34 -07:00
parent 8869d3212f
commit 61a8cf8ba7

View File

@ -103,7 +103,7 @@ def make_umd(opencvjs, cvjs):
Module = {};
return cv(Module);
}));
""" % (content)).lstrip())
""" % (content)).lstrip().encode())
if __name__ == "__main__":
if len(sys.argv) > 2: