Fix silly blunder

remotes/origin/python3
Phil Howard 2019-11-21 19:54:46 +00:00
parent 68abdf508b
commit 01a4e792ad
1 changed files with 2 additions and 2 deletions

View File

@ -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: