Solve the import issue in Python2.
This commit is contained in:
parent
1f519eea89
commit
bb7dc5f992
@ -39,7 +39,7 @@ def bootstrap():
|
|||||||
l_vars = locals()
|
l_vars = locals()
|
||||||
|
|
||||||
if sys.version_info[:2] < (3, 0):
|
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:
|
else:
|
||||||
from . load_config_py3 import exec_file_wrapper
|
from . load_config_py3 import exec_file_wrapper
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user