mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Fix TypeError when building for WebAssembly with Python 3
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user