From 80526f1abac7e3ed8a5d25e73df23c00867e9d65 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Tue, 20 Oct 2015 21:57:03 +0200 Subject: Bugfix in exception message --- sounddevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3