Mercurial > hg > vampy-host
changeset 91:917e3e2ef2ee
More informative error
author | Chris Cannam |
---|---|
date | Mon, 26 Jan 2015 12:28:23 +0000 |
parents | f364a62f9703 |
children | 18b412a9c4d5 |
files | native/PyRealTime.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/native/PyRealTime.cpp Mon Jan 26 11:00:41 2015 +0000 +++ b/native/PyRealTime.cpp Mon Jan 26 12:28:23 2015 +0000 @@ -64,7 +64,7 @@ ) { PyErr_SetString(PyExc_TypeError, - "RealTime initialised with wrong arguments."); + "RealTime constructor requires either (sec,nsec) integer tuple, or ('format',float) where 'format' is 'seconds' or 'milliseconds'"); return NULL; }