summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/otg/drive.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-09-04 18:08:40 +0300
committerMaxim Devaev <[email protected]>2022-09-04 18:08:40 +0300
commitee3e224e396494cd0d69bb6167087a071a20349c (patch)
tree5becd28570e58a03c6e1e231d0db24c264a73f88 /kvmd/plugins/msd/otg/drive.py
parent4b75221e9470b4a009955d7677f16adf8e23e302 (diff)
new typing style
Diffstat (limited to 'kvmd/plugins/msd/otg/drive.py')
-rw-r--r--kvmd/plugins/msd/otg/drive.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/kvmd/plugins/msd/otg/drive.py b/kvmd/plugins/msd/otg/drive.py
index 11af7f81..407aef9e 100644
--- a/kvmd/plugins/msd/otg/drive.py
+++ b/kvmd/plugins/msd/otg/drive.py
@@ -23,8 +23,6 @@
import os
import errno
-from typing import List
-
from .... import usb
from .. import MsdOperationError
@@ -47,7 +45,7 @@ class Drive:
def is_enabled(self) -> bool:
return os.path.exists(self.__profile_func_path)
- def get_watchable_paths(self) -> List[str]:
+ def get_watchable_paths(self) -> list[str]:
return [self.__lun_path, self.__profile_path]
# =====