button: fix linter errors
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
0eae069666
commit
7219cc45a5
|
@ -27,7 +27,7 @@ class ButtonManager:
|
|||
for section in prefix_sections:
|
||||
cfg = config[section]
|
||||
# Reserve the "type" option for future use
|
||||
btn_type = cfg.get('type', "gpio")
|
||||
btn_type = cfg.get('type', "gpio") # noqa: F841
|
||||
try:
|
||||
btn = GpioButton(cfg)
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in New Issue