summaryrefslogtreecommitdiff
path: root/kvmd/apps/cleanup/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-19 06:47:54 +0300
committerDevaev Maxim <[email protected]>2019-09-19 06:47:54 +0300
commit300d4603ca725dfb8749e466eabe0561ad54cb6b (patch)
tree2f53653dba9c95a233f404dafe1da6aff71011bf /kvmd/apps/cleanup/__init__.py
parent313e2c77fd94b1384ebb9057b43115ef14a642ba (diff)
fixed config loading
Diffstat (limited to 'kvmd/apps/cleanup/__init__.py')
-rw-r--r--kvmd/apps/cleanup/__init__.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/kvmd/apps/cleanup/__init__.py b/kvmd/apps/cleanup/__init__.py
index 063c8eca..e97c1329 100644
--- a/kvmd/apps/cleanup/__init__.py
+++ b/kvmd/apps/cleanup/__init__.py
@@ -40,10 +40,9 @@ def main(argv: Optional[List[str]]=None) -> None:
prog="kvmd-cleanup",
description="Kill KVMD and clear resources",
argv=argv,
- sections=["logging", "kvmd"],
- with_hid=True,
- with_atx=True,
- with_msd=True,
+ load_hid=True,
+ load_atx=True,
+ load_msd=True,
)[2].kvmd
logger = get_logger(0)