mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-29 06:15:38 +00:00
fix crash
This commit is contained in:
1 parent
945251c6b8
commit
855c20501b
1 file changed
+1
-1
@@ -934,10 +934,10 @@ Context_compare(ContextObject *a, ContextObject *b, int op)
|
||||
else
|
||||
{
|
||||
PyErr_SetString(PyExc_TypeError, "contexts are either equal or not equal");
|
||||
Py_INCREF(Py_None);
|
||||
ret = Py_None;
|
||||
}
|
||||
|
||||
Py_INCREF(ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user