Skip to content

Commit 007bc8f

Browse files
committed
Fix: Wrong error message format
1 parent cedd8c9 commit 007bc8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/src/rfcnt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ int parse_rfc_kwargs( PyObject* kwargs, Py_ssize_t len, Rainflow *rf, Rainflow::
115115
}
116116
else
117117
{
118-
PyErr_Format( PyExc_RuntimeError, "Wrong key used in wl dict: %O", key );
118+
PyErr_Format( PyExc_RuntimeError, "Wrong key used in wl dict: `%S`", key );
119119
return 0;
120120
}
121121
}

0 commit comments

Comments
 (0)