diff options
Diffstat (limited to 'kvmd/apps/kvmd/info/__init__.py')
-rw-r--r-- | kvmd/apps/kvmd/info/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kvmd/apps/kvmd/info/__init__.py b/kvmd/apps/kvmd/info/__init__.py index f8871d72..032dbb2d 100644 --- a/kvmd/apps/kvmd/info/__init__.py +++ b/kvmd/apps/kvmd/info/__init__.py @@ -20,8 +20,6 @@ # ========================================================================== # -from typing import Set - from ....yamlconf import Section from .base import BaseInfoSubmanager @@ -45,7 +43,7 @@ class InfoManager: "fan": FanInfoSubmanager(**config.kvmd.info.fan._unpack()), } - def get_subs(self) -> Set[str]: + def get_subs(self) -> set[str]: return set(self.__subs) def get_submanager(self, name: str) -> BaseInfoSubmanager: |