diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/pychrysalide/core/logs.c | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/plugins/pychrysalide/core/logs.c b/plugins/pychrysalide/core/logs.c index 7b595c1..589315e 100644 --- a/plugins/pychrysalide/core/logs.c +++ b/plugins/pychrysalide/core/logs.c @@ -135,8 +135,9 @@ static PyObject *py_logs_log_message(PyObject *self, PyObject *args)          case LMT_INFO:          case LMT_PROCESS:          case LMT_WARNING: -        case LMT_ERROR:          case LMT_BAD_BINARY: +        case LMT_ERROR: +        case LMT_EXT_ERROR:              log_simple_message(type, msg);              result = Py_None;              Py_INCREF(result); @@ -235,8 +236,9 @@ static bool define_python_log_constants(PyTypeObject *obj_type)      result &= PyDict_AddIntMacro(obj_type, LMT_INFO);      result &= PyDict_AddIntMacro(obj_type, LMT_PROCESS);      result &= PyDict_AddIntMacro(obj_type, LMT_WARNING); -    result &= PyDict_AddIntMacro(obj_type, LMT_ERROR);      result &= PyDict_AddIntMacro(obj_type, LMT_BAD_BINARY); +    result &= PyDict_AddIntMacro(obj_type, LMT_ERROR); +    result &= PyDict_AddIntMacro(obj_type, LMT_EXT_ERROR);      result &= PyDict_AddIntMacro(obj_type, LMT_COUNT);      return result; | 
