summaryrefslogtreecommitdiff
path: root/kvmd/apps/watchdog/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/apps/watchdog/__init__.py')
-rw-r--r--kvmd/apps/watchdog/__init__.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/kvmd/apps/watchdog/__init__.py b/kvmd/apps/watchdog/__init__.py
index e7271ac1..c8a50729 100644
--- a/kvmd/apps/watchdog/__init__.py
+++ b/kvmd/apps/watchdog/__init__.py
@@ -24,9 +24,6 @@ import argparse
import errno
import time
-from typing import List
-from typing import Optional
-
from ...logging import get_logger
from ...yamlconf import Section
@@ -104,7 +101,7 @@ def _cmd_cancel(config: Section) -> None:
# =====
-def main(argv: Optional[List[str]]=None) -> None:
+def main(argv: (list[str] | None)=None) -> None:
(parent_parser, argv, config) = init(add_help=False, argv=argv)
parser = argparse.ArgumentParser(
prog="kvmd-watchdog",