From 2535892723e275a3e31aa318edc788869c643fd0 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Wed, 11 Sep 2019 19:11:19 +0300 Subject: changed config hierarchy --- kvmd/apps/cleanup/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd/apps/cleanup/__init__.py') diff --git a/kvmd/apps/cleanup/__init__.py b/kvmd/apps/cleanup/__init__.py index 8aaf3452..f25e679a 100644 --- a/kvmd/apps/cleanup/__init__.py +++ b/kvmd/apps/cleanup/__init__.py @@ -49,7 +49,7 @@ def main(argv: Optional[List[str]]=None) -> None: with gpio.bcm(): for (name, pin, enabled) in [ *([ - ("hid_reset_pin", config.hid.params.reset_pin, True), + ("hid_reset_pin", config.hid.reset_pin, True), ] if config.hid.type == "tty" else []), ("atx_power_switch_pin", config.atx.power_switch_pin, config.atx.enabled), ("atx_reset_switch_pin", config.atx.reset_switch_pin, config.atx.enabled), -- cgit v1.2.3