1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-25 21:33:04 +04:00

binding: fix headers processing

This commit is contained in:
Alexander Alekhin
2017-06-30 14:49:17 +03:00
parent 2db45c8a85
commit 6ea6e4bceb
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -977,6 +977,6 @@ if __name__ == "__main__":
if len(sys.argv) > 1:
dstdir = sys.argv[1]
if len(sys.argv) > 2:
srcfiles = open(sys.argv[2], 'r').read().split(';')
srcfiles = [f.strip() for f in open(sys.argv[2], 'r').readlines()]
generator = PythonWrapperGenerator()
generator.gen(srcfiles, dstdir)