From 06044ffc23f5c2a26992782761a258a2f8097ccb Mon Sep 17 00:00:00 2001 From: danghvu Date: Tue, 28 Apr 2015 00:19:41 -0500 Subject: [PATCH] Fix a bug in Cython due to renaming --- bindings/python/pyx/ccapstone.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/pyx/ccapstone.pyx b/bindings/python/pyx/ccapstone.pyx index 16d226d919..1e39756479 100644 --- a/bindings/python/pyx/ccapstone.pyx +++ b/bindings/python/pyx/ccapstone.pyx @@ -253,7 +253,7 @@ cdef class Cs(object): # our binding version is different from the core's API version raise CsError(capstone.CS_ERR_VERSION) - self._csh = _cs._csh.value + self._csh = _cs.csh.value self._cs = _cs