issue #1700 replace PyExc_Exception

This commit is contained in:
Sebastian Hoogen
2014-08-29 21:12:45 +02:00
committed by wmayer
parent 1bc2e5d430
commit d49528b27e
21 changed files with 64 additions and 64 deletions

View File

@@ -72,7 +72,7 @@ open(PyObject *self, PyObject *args)
}
}
else
Py_Error(PyExc_Exception,"Could not load image");
Py_Error(Base::BaseExceptionFreeCADError,"Could not load image");
// Displaying the image in a view.
// This ImageView object takes ownership of the pixel data (in 'pointImageTo') so we don't need to delete it here