summaryrefslogtreecommitdiff
path: root/kvmd/apps/kvmd/info/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/apps/kvmd/info/__init__.py')
-rw-r--r--kvmd/apps/kvmd/info/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/apps/kvmd/info/__init__.py b/kvmd/apps/kvmd/info/__init__.py
index 3e833aed..dcb192d9 100644
--- a/kvmd/apps/kvmd/info/__init__.py
+++ b/kvmd/apps/kvmd/info/__init__.py
@@ -20,7 +20,7 @@
# ========================================================================== #
-from typing import List
+from typing import Set
from ....yamlconf import Section
@@ -41,8 +41,8 @@ class InfoManager:
"hw": HwInfoSubmanager(**config.kvmd.info.hw._unpack()),
}
- def get_subs(self) -> List[str]:
- return list(self.__subs)
+ def get_subs(self) -> Set[str]:
+ return set(self.__subs)
def get_submanager(self, name: str) -> BaseInfoSubmanager:
return self.__subs[name]