Solve the import issue in Python2.

This commit is contained in:
gal0is 2019-06-15 23:51:13 +08:00
parent 1f519eea89
commit bb7dc5f992

View File

@ -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