summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-09 09:41:05 +0300
committerDevaev Maxim <[email protected]>2020-07-09 09:41:05 +0300
commit5f1733d0024c70ccaf31964980a6286a7951cbed (patch)
treeb9074dc235835a214b66be2405faa777245a2e3f /kvmd/apps/__init__.py
parent53eb74670d040c9e8745433a2641f18796da365c (diff)
complex info handle
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 4b61a65e..b3bc98fc 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -216,16 +216,15 @@ def _get_config_scheme() -> Dict:
},
},
- "info": { # Accessed via global config, see kvmd/info.py for details
+ "info": { # Accessed via global config, see kvmd/info for details
"meta": Option("/etc/kvmd/meta.yaml", type=valid_abs_file),
"extras": Option("/usr/share/kvmd/extras", type=valid_abs_dir),
- },
-
- "hw": {
- "vcgencmd_cmd": Option(["/opt/vc/bin/vcgencmd"], type=valid_command),
- "procfs_prefix": Option("", type=(lambda arg: str(arg).strip())),
- "sysfs_prefix": Option("", type=(lambda arg: str(arg).strip())),
- "state_poll": Option(10.0, type=valid_float_f01),
+ "hw": {
+ "vcgencmd_cmd": Option(["/opt/vc/bin/vcgencmd"], type=valid_command),
+ "procfs_prefix": Option("", type=(lambda arg: str(arg).strip())),
+ "sysfs_prefix": Option("", type=(lambda arg: str(arg).strip())),
+ "state_poll": Option(10.0, type=valid_float_f01),
+ },
},
"wol": {