X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/644968a5e7aa007fd873fb8f9a036a1d3139a14d..de652f72b1884328ee22ec36deaa6320addd32e7:/src/busio.py diff --git a/src/busio.py b/src/busio.py index 17e6c28..d63c815 100755 --- a/src/busio.py +++ b/src/busio.py @@ -293,7 +293,7 @@ class SPI(Lockable): except AttributeError: raise NotImplementedError( "Frequency attribute not implemented for this platform" - ) + ) from AttributeError def write(self, buf, start=0, end=None): """Write to the SPI device"""