button: fix linter errors

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-10-07 10:30:56 -04:00
parent 0eae069666
commit 7219cc45a5
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 1 additions and 1 deletions

View File

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