mcu: Raise a config error on an invalid pin name in the config file

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2016-11-30 15:05:26 -05:00
parent ce7e7c4048
commit 3806ed882a
2 changed files with 9 additions and 2 deletions

View file

@ -34,6 +34,7 @@ Printer is shutdown
"""
class ConfigWrapper:
error = ConfigParser.Error
def __init__(self, printer, section):
self.printer = printer
self.section = section