summaryrefslogtreecommitdiff
blob: fa85d7858109183bec60dcdb01fd8f007d73920f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/py_adonthell_wrap.cc	2014-10-20 14:21:57.495642785 +0200
+++ b/src/py_adonthell_wrap.cc	2014-10-20 14:22:35.019293237 +0200
@@ -867,7 +867,7 @@
     Py_DECREF(old_str);
     Py_DECREF(value);
   } else {
-    PyErr_Format(PyExc_RuntimeError, mesg);
+    PyErr_Format(PyExc_RuntimeError, "%s", mesg);
   }
 }