Commit 117e97ad authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #11876 from ilovezfs:patch-1

parents c52b4cf4 0c4328fb
......@@ -916,7 +916,7 @@ bool pyopencv_to(PyObject* obj, String& value, const char* name)
(void)name;
if(!obj || obj == Py_None)
return true;
char* str = PyString_AsString(obj);
const char* str = PyString_AsString(obj);
if(!str)
return false;
value = String(str);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment