From 82319ba672e99256e8bfe95c5b973540cfb8ee5d Mon Sep 17 00:00:00 2001 From: Ben Nuttall Date: Mon, 5 Oct 2015 12:08:55 +0100 Subject: [PATCH] Cleanup --- gpiozero/devices.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpiozero/devices.py b/gpiozero/devices.py index cd05cfe..98178f5 100644 --- a/gpiozero/devices.py +++ b/gpiozero/devices.py @@ -57,7 +57,8 @@ class GPIODevice(object): with _GPIO_PINS_LOCK: if pin in _GPIO_PINS: raise GPIODeviceError( - 'pin %d is already in use by another gpiozero object' % pin) + 'pin %d is already in use by another gpiozero object' % pin + ) _GPIO_PINS.add(pin) self._pin = pin self._active_state = GPIO.HIGH