diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2015-10-20 21:57:03 +0200 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2015-10-20 21:57:03 +0200 |
| commit | 80526f1abac7e3ed8a5d25e73df23c00867e9d65 (patch) | |
| tree | 1c83debf82291bb50306ee88c25d094ecd666fb1 | |
| parent | 3057cd3e579588c796632f64b6f7844c053b0501 (diff) | |
Bugfix in exception message
| -rw-r--r-- | sounddevice.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sounddevice.py b/sounddevice.py index 4562304..d91ff28 100644 --- a/sounddevice.py +++ b/sounddevice.py @@ -2268,7 +2268,7 @@ def _check_dtype(dtype): elif dtype == 'float64': dtype = 'float32' else: - raise TypeError("Unsupported data type: %s" % repr(dtype.name)) + raise TypeError("Unsupported data type: %s" % repr(dtype)) return dtype |
