mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
Fix TypeError when building for WebAssembly with Python 3
This commit is contained in:
parent
8869d3212f
commit
61a8cf8ba7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user