pull/13383/head
James Bowman 14 years ago
parent 6004687563
commit d2d52c7310
  1. 2
      modules/python/cv.cpp

@ -3989,7 +3989,7 @@ void initcv()
m = Py_InitModule(MODULESTR"", methods);
d = PyModule_GetDict(m);
PyDict_SetItemString(d, "__version__", PyString_FromString("$Rev: 3057 $"));
PyDict_SetItemString(d, "__version__", PyString_FromString("$Rev$"));
opencv_error = PyErr_NewException((char*)MODULESTR".error", NULL, NULL);
PyDict_SetItemString(d, "error", opencv_error);

Loading…
Cancel
Save