diff options
author | Devaev Maxim <[email protected]> | 2020-12-21 01:59:49 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-12-21 01:59:49 +0300 |
commit | 42475809fcafef12d39a12b7dd2be49aea9d9b6f (patch) | |
tree | a56572c31a6128434d2c8b89e7d479a558965b47 /kvmd/plugins/msd/__init__.py | |
parent | 2cb210c975b37d4e9db06b8e121f42f7d09c6fe1 (diff) |
refactoring
Diffstat (limited to 'kvmd/plugins/msd/__init__.py')
-rw-r--r-- | kvmd/plugins/msd/__init__.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kvmd/plugins/msd/__init__.py b/kvmd/plugins/msd/__init__.py index 6edc6ecb..bd397657 100644 --- a/kvmd/plugins/msd/__init__.py +++ b/kvmd/plugins/msd/__init__.py @@ -109,10 +109,7 @@ class BaseMsd(BasePlugin): async def set_params(self, name: Optional[str]=None, cdrom: Optional[bool]=None) -> None: raise NotImplementedError() - async def connect(self) -> None: - raise NotImplementedError() - - async def disconnect(self) -> None: + async def set_connected(self, connected: bool) -> None: raise NotImplementedError() @contextlib.asynccontextmanager |