diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-01-31 18:43:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-01-31 18:46:55 (GMT) |
commit | 5efaafe278314051661c99c1e33a00d0883025a6 (patch) | |
tree | f4ee10bdb5605a82b80955fcfbf56a623ffc414d /plugins/pychrysalide/helpers.c | |
parent | 8f557031ec362c4b2e85724f6bc392086cefadea (diff) |
Fixed mistakes relative to PyUnicode_Check() return value.
Diffstat (limited to 'plugins/pychrysalide/helpers.c')
-rw-r--r-- | plugins/pychrysalide/helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysalide/helpers.c b/plugins/pychrysalide/helpers.c index a0aa5e7..f744475 100644 --- a/plugins/pychrysalide/helpers.c +++ b/plugins/pychrysalide/helpers.c @@ -239,7 +239,7 @@ PyObject *run_python_method(PyObject *module, const char *method, PyObject *args PyErr_Fetch(&type, &value, &traceback); if (type != NULL && type == PyExc_NotImplementedError \ - && value != NULL && PyUnicode_Check(value) == 1) + && value != NULL && PyUnicode_Check(value)) { refmsg = PyUnicode_FromString(NOT_IMPLEMENTED_MSG); |