diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/gras/GRAS_SBuffer.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/gras/GRAS_SBuffer.i b/python/gras/GRAS_SBuffer.i index 867d2f1..5ae910a 100644 --- a/python/gras/GRAS_SBuffer.i +++ b/python/gras/GRAS_SBuffer.i @@ -14,7 +14,7 @@ def pmc_to_sbuffer(p): return s RegisterPy2PMC( - is_py = lambda x: isinstance(x, SBuffer), + is_py = lambda x: type(x) is SBuffer, py2pmc = swig_sbuffer_to_pmc, ) |