From b0d2c26f80cdd248fdff12c949c6f5e5c34f40cb Mon Sep 17 00:00:00 2001 From: Jonas Wedin Date: Sat, 18 Apr 2015 11:58:48 +0200 Subject: [PATCH] Typo in cleanup --- gpioController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpioController.py b/gpioController.py index be2fe72..d1b84a4 100644 --- a/gpioController.py +++ b/gpioController.py @@ -55,7 +55,7 @@ def __init__(self, pins, boardmode="BCM", showWarnings=False): # Pin is ready to use self.USED_PINS.append(pin) - def cleanup(): + def cleanup(self): # cleanup pins so that other things can use it for pin in self.pins: self.USED_PINS.remove(pin)