From 01a4e792ad6d5026db1bfb064f4fba1770f19120 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Thu, 21 Nov 2019 19:54:46 +0000 Subject: [PATCH] Fix silly blunder --- mopidy_raspberry_gpio/pinconfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mopidy_raspberry_gpio/pinconfig.py b/mopidy_raspberry_gpio/pinconfig.py index 8e5c93e..f2d0a7f 100644 --- a/mopidy_raspberry_gpio/pinconfig.py +++ b/mopidy_raspberry_gpio/pinconfig.py @@ -35,12 +35,12 @@ class PinConfig(config.ConfigValue): if event not in self.valid_events: raise ValueError( - f"invalid event for pin config {event} (Must be {valid_events})" + f"invalid event for pin config {event} (Must be {self.valid_events})" ) if active not in self.valid_modes: raise ValueError( - f"invalid event for pin config {active} (Must be one of {valid_modes})" + f"invalid event for pin config {active} (Must be one of {self.valid_modes})" ) try: