Small typo in GDS driver Python wrapper error message.

This commit is contained in:
Jean-Paul Chaput 2020-10-25 11:43:41 +01:00
parent 81522e73a2
commit aadd7744ee
1 changed files with 2 additions and 2 deletions

View File

@ -70,11 +70,11 @@ extern "C" {
if (IsPyCell(pyCell)) {
Gds::save( PYCELL_O(pyCell) );
} else {
PyErr_SetString( ConstructorError, "Gds.load(): Bad parameter type (not a Cell)." );
PyErr_SetString( ConstructorError, "Gds.save(): Bad parameter type (not a Cell)." );
return NULL;
}
} else {
PyErr_SetString( ConstructorError, "Gds.load(): Bad number of parameters." );
PyErr_SetString( ConstructorError, "Gds.save(): Bad number of parameters." );
return NULL;
}
HCATCH