fixed python version in yet another place.

This commit is contained in:
Vadim Pisarevsky 2012-04-25 08:41:57 +00:00
parent 30f1ab059b
commit ed1932dfa1

View File

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