Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
bb7dc5f9
Commit
bb7dc5f9
authored
Jun 15, 2019
by
gal0is
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solve the import issue in Python2.
parent
1f519eea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
__init__.py
modules/python/package/cv2/__init__.py
+1
-1
No files found.
modules/python/package/cv2/__init__.py
View file @
bb7dc5f9
...
...
@@ -39,7 +39,7 @@ def bootstrap():
l_vars
=
locals
()
if
sys
.
version_info
[:
2
]
<
(
3
,
0
):
from
cv2.
load_config_py2
import
exec_file_wrapper
from
.
load_config_py2
import
exec_file_wrapper
else
:
from
.
load_config_py3
import
exec_file_wrapper
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment