mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 12:10:49 +08:00
fixed python version in yet another place.
This commit is contained in:
parent
30f1ab059b
commit
ed1932dfa1
@ -3888,7 +3888,7 @@ PyObject* init_cv()
|
||||
m = Py_InitModule(OLD_MODULESTR, old_methods);
|
||||
d = PyModule_GetDict(m);
|
||||
|
||||
PyDict_SetItemString(d, "__version__", PyString_FromString("$Rev: 4557 $"));
|
||||
PyDict_SetItemString(d, "__version__", PyString_FromString(CV_VERSION));
|
||||
PyDict_SetItemString(d, "error", opencv_error);
|
||||
|
||||
// Couple of warnings about strict aliasing here. Not clear how to fix.
|
||||
|
Loading…
Reference in New Issue
Block a user