diff options
| -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 |
