summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-06-02 20:59:43 +0300
committerDevaev Maxim <[email protected]>2020-06-02 20:59:43 +0300
commitcb9597679d8c9189e671e166de45c707c650bb2f (patch)
treee0f3e00bafe4c1674f8497e6832f292233d94821 /kvmd/apps/__init__.py
parentfe7c275d1a827f95d40d774e38b928aee493a41b (diff)
improved info handler
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index ad28961b..e81e6656 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -214,9 +214,9 @@ def _get_config_scheme() -> Dict:
},
},
- "info": {
- "meta": Option("/etc/kvmd/meta.yaml", type=valid_abs_file, unpack_as="meta_path"),
- "extras": Option("/usr/share/kvmd/extras", type=valid_abs_dir, unpack_as="extras_path"),
+ "info": { # Accessed via global config, see kvmd/info.py for details
+ "meta": Option("/etc/kvmd/meta.yaml", type=valid_abs_file),
+ "extras": Option("/usr/share/kvmd/extras", type=valid_abs_dir),
},
"wol": {